AZ CLI failing with Pip error on extension install.
See original GitHub issue
az feedback
auto-generates most of the information requested below, as of CLI version 2.0.62
Describe the bug
Az CLI version 2.18 fails with Pip error on extension install. (e.g. az extension add --source <path to .whl>
)
cli.azure.cli.core.azclierror: An error occurred. Pip failed with status code 1. Use --debug for more information.
To Reproduce
az extension add --source <path to .whl>
Expected behavior
No failure Environment summary
Az CLI Version: 2.18 MacOS, Zsh Additional context
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (2 by maintainers)
Top Results From Across the Web
pip error while installing azure cli extension behind proxy
Pip failed with status code 1. looking into fiddler it says: 407 proxy authentication error while connecting to on premise nexus. My pip...
Read more >Azure CLI ADO Extension installation - Visual Studio Feedback
Unfortunately when I tried to install the ADO extension, I block on the following error: An error occurred. Pip failed with status code...
Read more >What to do if Linux "pwsh" az extension add --name azure-iot ...
CLIError : An error occurred. Pip failed with status code 1. Use --debug for more information. cli.azure.cli.core.azclierror: An error occurred.
Read more >What is the pip error status code 1 in Azure CLI ... - Quora
The error usually occurs due to unspecified program code request access for memory without proper authority. Generally, this is seen on the website's ......
Read more >Why I Am Getting Error While Installing Azure-Cli Using Pip
Az CLI version 2.18 fails with Pip error on extension install. e.g. az extension add source <path to.whl>. cli.azure.cli.core.azclierror: An error occurred.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Found the issue. I screened my debug log again and found the reference that my pip version was too old: /usr/local/Cellar/azure-cli/2.20.0/libexec/bin/python -m pip install --upgrade pip helped in my case.
@mayurigupta13 one way to workaround is upgrading pip version before
az extension add
, like this: