-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
pip install azureml-sdk failing: Could not find a version that satisfies the requirement dotnetcore2>=2.1.9 #9583
Comments
Can you run in the same window |
TL;DRJust 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. |
Hi- assuming that this question has been answered, so closing. Feel free to re-open an issue if this is still unresolved. |
I am still having this problem but for a different module @maggiepint @marcelaldecoa
I am using pip version Ends in the following error (other successful downloads excluded for brevity) ERROR: Could not find a version that satisfies the requirement azureml-dataprep-native<21.0.0,>=20.0.2 (from azureml-dataprep<2.1.0a,>=2.0.1a->azureml-dataset-runtime[fuse]~=1.12.0->azureml-sdk) (from versions: none)
ERROR: No matching distribution found for azureml-dataprep-native<21.0.0,>=20.0.2 (from azureml-dataprep<2.1.0a,>=2.0.1a->azureml-dataset-runtime[fuse]~=1.12.0->azureml-sdk) |
I am running into the same error, running pip 20.2., python 3.8.6, and dotnet 3.1.109 on a Mac. This is the below error I get as well when running pip install azureml-sdk ERROR: Could not find a version that satisfies the requirement azureml-sdk (from versions: none) |
The following commands worked on my mac, and I attached the environment list here as specs.txt: conda create --name azure_env python=3.7 |
For me in Windows following commands worked. conda create --name azure-ml-env |
Describe the bug
pip install azureml-sdk failing
To Reproduce
pip install azureml-sdk
Expected behavior
I expect pip to install the AzureML SDK
Actual behavior
Screenshots
Additional context
I have downloaded and installed the .Net Core SDK and runtime from https://dotnet.microsoft.com/download/
The text was updated successfully, but these errors were encountered: