-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
az feedbackauto-generates most of the information requested below, as of CLI version 2.0.62
Describe the bug
When installing the Azure Machine Learning CLI extension, we see this error:
ERROR: An error occurred. Pip failed with status code 1. Use --debug for more information.
Using the debug flag we see an error from cryptography:
error: Can not find Rust compiler
Building wheel for cryptography (PEP 517): finished with status 'error'
ERROR: Failed building wheel for cryptography
and
pip._internal.exceptions.InstallationError: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
To Reproduce
Create a Dockerfile with these lines:
FROM mcr.microsoft.com/azure-cli
RUN az login
RUN az extension add -n azure-cli-ml
Expected behavior
ML CLI extension installs.
Environment summary
Using base mcr.microsoft.com/azure-cli image.