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

ModuleNotFoundError: No module named 'azure.identity' #86

Open
ashkan-leo opened this issue Mar 24, 2024 · 2 comments
Open

ModuleNotFoundError: No module named 'azure.identity' #86

ashkan-leo opened this issue Mar 24, 2024 · 2 comments

Comments

@ashkan-leo
Copy link

When following instructions to set this up for GCP, I get the exception ModuleNotFoundError: No module named 'azure.identity' when I reach the step to run numerai setup --provider gcp

Full stack trace:

Traceback (most recent call last):
  File "/Users/ashkan/Library/Caches/pypoetry/virtualenvs/numer-ai-EQGVgUYP-py3.11/bin/numerai", line 5, in <module>
    from numerai import main
  File "/Users/ashkan/Library/Caches/pypoetry/virtualenvs/numer-ai-EQGVgUYP-py3.11/lib/python3.11/site-packages/numerai/__init__.py", line 1, in <module>
    from numerai.cli import main
  File "/Users/ashkan/Library/Caches/pypoetry/virtualenvs/numer-ai-EQGVgUYP-py3.11/lib/python3.11/site-packages/numerai/cli/__init__.py", line 4, in <module>
    from numerai.cli import (
  File "/Users/ashkan/Library/Caches/pypoetry/virtualenvs/numer-ai-EQGVgUYP-py3.11/lib/python3.11/site-packages/numerai/cli/destroy_all.py", line 6, in <module>
    from numerai.cli.util.docker import terraform
  File "/Users/ashkan/Library/Caches/pypoetry/virtualenvs/numer-ai-EQGVgUYP-py3.11/lib/python3.11/site-packages/numerai/cli/util/docker.py", line 12, in <module>
    from numerai.cli.util.keys import (
  File "/Users/ashkan/Library/Caches/pypoetry/virtualenvs/numer-ai-EQGVgUYP-py3.11/lib/python3.11/site-packages/numerai/cli/util/keys.py", line 10, in <module>
    from azure.identity import ClientSecretCredential  # DefaultAzureCredential
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'azure.identity'
@ashkan-leo
Copy link
Author

This may be related to Azure/azure-cli#22192

@ashkan-leo
Copy link
Author

Is it a requirement to umbrella install and troubleshoot all the cloud SDKs (Azure, AWS, GCP)?

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