-
Notifications
You must be signed in to change notification settings - Fork 265
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
Install AZ ML dependencies step is failing during deploy-model-training-pipeline.yml execution #128
Comments
install-az-cli.yml in the template contains [python -m pip install -U --force-reinstall pip pip install <package_name>==]. Seems like this is causing the failure. I fixed it by modifying the commands to [ python -m pip install -U <package_name>==]. But now the next step in the execution which runs install-aml-cli.yml is failing with error: Please help getting a solution. |
It seems there is an issue with the pip upgrade. I will investigate this next week. Possibly an older version is causing an issue together with the cryptography module. |
Microsoft is yet to provide any solution to this, but I found out some workaround though. If you check the logs, "python -m pip install -U --force-reinstall pip" in mlops-templates -> templates -> aml-cli-v2 -> install-az-cli.yml is the culprit here. Remove "python -m pip install -U --force-reinstall pip" from each line. It may fail in the next step again(which is Install AML CLI V2) because of a missing package. |
The above workaround worked fined. |
Describe the bug or the issue that you are facing
deploy-model-training-pipeline.yml was working totally fine till last Friday & suddenly we have started facing issue with it from Monday. Install AZ ML dependencies is failing with the below error:
/usr/bin/bash /home/vsts/work/_temp/azureclitaskscript1721726661839.sh
Collecting pip
Downloading pip-24.1.2-py3-none-any.whl (1.8 MB)
ERROR: Could not find a version that satisfies the requirement install (from versions: none)
ERROR: No matching distribution found for install
Please see the attached image for more information.
Steps/Code to Reproduce
Expected Output
There shall not be any error in the script
Versions
main branch of the repo in DevOps.
I am using Azure ML SDK V2
Which platform are you using for deploying your infrastrucutre?
Azure DevOps (ADO)
If you mentioned Others, please mention which platformm are you using?
No response
What are you using for deploying your infrastrucutre?
Bicep
Are you using Azure ML CLI v2 or Azure ML Python SDK v2
Azure ML Python SDK v2
Describe the example that you are trying to run?
Execute deploy-model-training-pipeline.yml pipeline
The text was updated successfully, but these errors were encountered: