Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: Project was not passed and could not be determined from the environment #46

Open
sephiartlist opened this issue Oct 11, 2021 · 2 comments

Comments

@sephiartlist
Copy link

Hi,
When trying to open

gcsfs = GCSFS(bucket_name=bucket)
I get the following error
OSError: Project was not passed and could not be determined from the environment.

The problem is that when creating the Client there is no option to pass Google Project ID

@mezhaka
Copy link

mezhaka commented Oct 12, 2021

Not sure I have enough context, but did you set up access to Google Cloud Platform? Can you for example copy something using gsutil? If not, try setting it up and it should work then. It's something with gcloud init / gcloud auth or setting up a service account to manage access (exposing GOOGLE_APPLICATION_CREDENTIALS env variable).

@sephiartlist
Copy link
Author

Not sure I have enough context, but did you set up access to Google Cloud Platform?
Yes - But I work agains numerous project - that I switch between them.
no problem using gsutil and my GOOGLE_APPLICATION_CREDENTIALS is set

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants