Solved: Error while finding module specification for 'azure.cli' (ModuleNotFoundError: No module named 'azure')
2017-12-10
when you have the follow error when running azure-cli az command:
/Users/peter/lib/azure-cli/bin/python: Error while finding module specification for ‘azure.cli’ (ModuleNotFoundError: No module named ‘azure’)
Just run directly
python3 -m azure.cli
Post Views: 6,007
2017/12/10 by admin