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

Missing Google Cloud Storage credentials file #21

Open
triakshunn opened this issue Feb 10, 2023 · 0 comments
Open

Missing Google Cloud Storage credentials file #21

triakshunn opened this issue Feb 10, 2023 · 0 comments

Comments

@triakshunn
Copy link

triakshunn commented Feb 10, 2023

Hi!
I was trying to reproduce the results and had successfully installed all installation files. However when I run the main.py file by !python main.py ,I am thrown the following exception:

Traceback (most recent call last):
  File "main.py", line 13, in <module>
    import util
  File "/content/hebbian-evolution/util.py", line 12, in <module>
    client = storage.Client()
  File "/usr/local/lib/python3.8/dist-packages/google/cloud/storage/client.py", line 115, in __init__
    super(Client, self).__init__(
  File "/usr/local/lib/python3.8/dist-packages/google/cloud/client.py", line 249, in __init__
    _ClientProjectMixin.__init__(self, project=project)
  File "/usr/local/lib/python3.8/dist-packages/google/cloud/client.py", line 201, in __init__
    project = self._determine_default(project)
  File "/usr/local/lib/python3.8/dist-packages/google/cloud/client.py", line 216, in _determine_default
    return _determine_default_project(project)
  File "/usr/local/lib/python3.8/dist-packages/google/cloud/_helpers.py", line 186, in _determine_default_project
    _, project = google.auth.default()
  File "/usr/local/lib/python3.8/dist-packages/google/auth/_default.py", line 338, in default
    credentials, project_id = checker()
  File "/usr/local/lib/python3.8/dist-packages/google/auth/_default.py", line 185, in _get_explicit_environ_credentials
    credentials, project_id = load_credentials_from_file(
  File "/usr/local/lib/python3.8/dist-packages/google/auth/_default.py", line 96, in load_credentials_from_file
    raise exceptions.DefaultCredentialsError(
google.auth.exceptions.DefaultCredentialsError: File /root/.gs/hebbian-meta-learning.json was not found.

If I understand currently we are missing a Google Cloud Storage credentials file called hebbian-meta-learning.json
Any way to solve this by getting the file?
Thanks!

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

1 participant