Solved: Error while finding module specification for ‘azure.cli’ (ModuleNotFoundError: No module named ‘azure’)

Solved: Error while finding module specification for ‘azure.cli’ (ModuleNotFoundError: No module named ‘azure’)

2017/12/10 Gossip 0

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

read count : 5

Leave a Reply

Your email address will not be published. Required fields are marked *