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.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 3
  • Comments: 15 (6 by maintainers)

Commits related to this issue

Most upvoted comments

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:

Requires-Python: >=3.5,<4

to:

Requires-Python: >=3.5,<3.9

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.