MachineLearningNotebooks: Error Installing Azureml. (Python 3.9 support)
This guidance results in an error:
“To install the default packages in an environment without a previous version of the package installed, run the following command.”
PS C:> pip install azureml-sdk
ERROR: Could not find a version that satisfies the requirement azureml-sdk (from versions: none) ERROR: No matching distribution found for azureml-sdk
What am I missing?
Thanks, claw
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 8e0e12a4-b363-2726-06b4-9db2015efb32
- Version Independent ID: e39a91ac-375b-a2cc-350d-a82cb7b0b035
- Content: Install the Azure Machine Learning SDK for Python - Azure Machine Learning Python
- Content Source: AzureML-Docset/docs-ref-conceptual/install.md
- Service: machine-learning
- Sub-service: core
- GitHub Login: @harneetvirk
- Microsoft Alias: harnvir
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 3
- Comments: 15 (6 by maintainers)
azureml-sdk only supports Python 3.5 to 3.8, but you are having python 3.9.1 installed in the environment. Please change the python version between 3.5 to 3.8.
Also, the latest pip 20.3 has a new dependency resolver which is resulting in this long running dependency resolutions. If you switch to older version of pip (<20.3), you will notice the difference in the performance.
If azureml-sdk does not support Python 3.9, then the metadata should be updated from:
to:
Is this also true for the hundreds of subpackages that azureml-sdk depends on? When is Python 3.9 support coming?
azureml-core
now supports Python 3.9.@adamjstewart Python 3.10 is already supported in the new SDK V2 preview: https://docs.microsoft.com/en-us/azure/machine-learning/concept-v2 I expect that we will support 3.10 in SDK V1 as well but I don’t have a date for that.
azureml-sdk is a meta package. azureml-core is one of the upstream that supports python 3.9 but there are some other AutoML dependencies in azureml-sdk which do not support python 3.9.