-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Failed to Install azureml-sdk on Windows #516
Comments
Please follow "Local computer" section here https://docs.microsoft.com/en-us/azure/machine-learning/service/how-to-configure-environment. |
Yeah. Thanks for providing the doc. |
I am getting the following similar to the issue above, and I went to the document and failed to see the fix, Can you please help?
|
Have the same problem overnight, I think something changed on the Azure Py stack -- no good explanation why my builds failed otherwise.
|
issue filed here pypa/pip#7632. I am using older version of pip (19.) for a workaround. |
confirm that rolling back to pip 19.0 solves the problem. |
I'm deploying a package on azure web app using kudu -- i dont see how I can change the behavior of the pip upgrade command in the script. Is it configurable ? I'd like to pin the pip version if its possible |
same issue here |
In case you are experiencing this error while using Azure Machine Learning Compute (AML Compute):
Manually setting the
|
Thanks, this worked for me |
Should be working again now, |
TL;DR@csiebler is right, just upgrade your PIP to 20.0.2. Had same issue and the problem was related to the version of the PIPHad same issue and the problem was related to the version of the PIP. Downgrade to a version such as 19.3.1 or better, upgrade to 20.0.2 that fixes the issue #7626. Below we have a deep dive on the issue. Why upgrading to PIP 20.0.1 is failing dotnetcore2According to the PIP release notes, the version 20.0.1 is based on the version 20.0.0 that contains deprecations and removals, including the issue #6908. A closer inspection to the pull request #7354 reveled a number of changes to the file pep425tags.py, which Generate and work with PEP 425 Compatibility Tags. Let's run some code to understand that. Using PIP 19.3.1
will return
From this list what matters to us is the tupple
Notice the line Using PIP 20.0.1
will return
The closest that uses py3 is If we run What if we change the tag manually?What if we change the tag in the file
Notice the line Once the change is applied, we simple zip the folders again and rename the file to something like Now if we run .... We will be able to install the dotnetcore2 wheel using PIP 20.0.1. |
it's year 2021, it's still happening.
I'm following Azure Machine Learning tutorial pip version 20.1.1 I do not want to set my pip version to an outdated version. |
Hi, @franva, Learned this problem recently, and I tried on a computer under exactly same configs as yours : Before install azureml-sdk, there were only 2 packages installed as initial environment: then I executed "pip install azureml-sdk[notebooks,automl,explain] --no-cache-dir --user" but I seems could not reproduce the problem... here is error/warnings I saw during my installation: seems only notices about urllib3 and numpy incompatible...
So would double confirm if it's still happening on your side..? |
@lostmygithubaccount |
@YuandaXu @lostmygithubaccount I believe the problem/issue is that the recommended installation of AutoML is not by adding the “automl” package by using pip, but by installing AutoML packages running the installation script, as specified in the AutoML Installation page: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-configure-auto-train#prerequisites Which points to use the "automl_setup" script for Windows or the "automl_setup_mac.sh" for Mac, in the instructions: Please confirm if the installation using the script works for you. I raised an issue with the docs team so they remove the example of adding "automl" as package in the pip example in that generic doc for AML: |
The guidance has been updated in: https://docs.microsoft.com/en-us/learn/modules/intro-to-azure-machine-learning-service/3-azure-ml-tools |
Closing, since the guidance has been updated: |
Hi,
I have Python 3.7.4 installed on my Windows desktop. I was trying to install the azureml python sdk using
pip install azureml-sdk
, but it has error:ERROR: Could not find a version that satisfies the requirement azureml-dataprep-native<14.0.0,>=13.0.0 (from azureml-dataprep<1.2.0a,>=1.1.9a->azureml-sdk) (from versions: none) ERROR: No matching distribution found for azureml-dataprep-native<14.0.0,>=13.0.0 (from azureml-dataprep<1.2.0a,>=1.1.9a->azureml-sdk)
Do you know how to resolve it? Thanks!
The text was updated successfully, but these errors were encountered: