-
Notifications
You must be signed in to change notification settings - Fork 3k
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
AZ CLI failing with Pip error on extension install. #16856
Comments
Also met the same error when adding extension. Workaround by upgrading pip version in az python path, but better to be solved by az cli. See the below debug logs: cli.azure.cli.core.extension.operations: Command '['/opt/az/bin/python3', '-m', 'pip', 'install', '--target', '/home/aml-custom-module/.azure/cliextensions/azure-cli-ml', '/tmp/tmpgl54fk79/azure_cli_ml-0.1.0.29211468-py3-none-any.whl', '- |
HI @fengzhou-msft how's the cryptograpy upgrading status? |
What's the workaround for this issue? |
@mayurigupta13 one way to workaround is upgrading pip version before
|
@fengzhou-msft can we get an update regarding the issue? |
We've pinned the The fix needs to be done by the extension to either pin The latest |
Is there any workaround for this issue? Unfortunately, I get the same error message when trying out chjinche's solution: |
Found the issue. I screened my debug log again and found the reference that my pip version was too old: |
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
The text was updated successfully, but these errors were encountered: