-
Notifications
You must be signed in to change notification settings - Fork 60
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
skyplane init
error: ModuleNotFoundError: No module named 'azure'
#589
Comments
Note I was able to fix this by running |
I was not able to instal azure with the following error (ubuntu 20.04, python3.8)
The package that did work for me was azure-mgmt-storage. And then I got another error
|
Hi @dbickson, dependencies are bit messy and we are working to clean them up in #602. That PR will update the workflow to install azure-mgmt-storage when you run While we merge that PR, to install Azure dependencies manually, run: |
Hi @parasj since I am not using Azure anyway I suggest to do a delayed import only when someone asks for Azure config. (The error appeared before init is asking to configure Azure usage). |
I had the same issue, you can work around for now with
|
I pushed a fix based on @dbickson's suggestion to lazily import Azure via dependency injection. It seems to fix the issue in a clean environment (@sarahwooders tested this). I'm cutting a new release to integrate this new bugfix by end of day. Thanks for helping chase down the root case of this issue. |
I think this issue can be closed as per #613 |
I pip installed Skyplane and ran
skyplane init
but immediately got an error:The text was updated successfully, but these errors were encountered: