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
No module named azure.cli - macOS homebrew #8399
Comments
Howdy @nandhak21, While I don't run into quite the same error, I'm essentially able to repro this. Except, on my machine (macOS 10.14.2) it is missing |
I've confirmed with @tjprescott that this is the result of missing dependencies in the |
For people blocked by this issue, you should still be able to install |
Azure CLI 2.0.57 has been released and has fixed the problem. Thanks @marstr for the quick turnaround! |
Thank you all for the quick fix.. |
Had a similar issue, fixed it with
|
I'm getting same error with azure-cli 2.0.80.
I think I'm getting this error since I tried to install azure-ml sdk from pip. Originally I had installed azure-cli from brew which was working. |
Environment summary
Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (
az --version
) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)Tried both pip and brew methods.
Able to access azure-cli programmatically but the command version seems to be having some issue.
I am assuming python2.7 builtin mac is causing some issue but not able to make a reference for az to use.
OS version - mac os High Sierra
Shell Type - Bash
Went through other posts as well. It was quiet complex to understand and would really appreciate if anyone is able to help me on this.
I have also tried using instructions from azure documentation.
Both python2.7 and python3.6 has been installed in my mac. And tried reinstalling azure-cli in both brew and pip.
$ az
/usr/bin/python: No module named azure
The text was updated successfully, but these errors were encountered: