Search Posts

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

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

Leave a Reply

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