MachineLearningNotebooks icon indicating copy to clipboard operation
MachineLearningNotebooks copied to clipboard

Incompatible versions of azureml-core and azure-cli-core in python 3.10

Open jzazo opened this issue 3 years ago • 0 comments

Hi. I am trying to install azureml-core and azure-cli-core in the same environment with python 3.10. I cannot find two compatible versions of both packages. If I pin the packages to latest versions I get the following error:

Because no versions of azureml-core match >1.45.0.post1,<2.0.0 and azureml-core (1.45.0.post1) depends on knack (>=0.9.0,<0.10.0), azureml-core (>=1.45.0.post1,<2.0.0) requires knack (>=0.9.0,<0.10.0).
And because azure-cli-core (2.40.0) depends on knack (>=0.10.0,<0.11.0) and no versions of azure-cli-core match >2.40,<3.0, azureml-core (>=1.45.0.post1,<2.0.0) is incompatible with azure-cli-core (>=2.40,<3.0).
So, because immunocam-app depends on both azure-cli-core (^2.40) and azureml-core (^1.45.0.post1), version solving failed.

Can you unpin or upgrade the knack dependency in azureml-core since it uses the oldest version?

Also, older versions of azureml-core depend on old ruaml-yaml versions which do not provide wheels for python 3.10.

Can you help find a solution? Thank you.

jzazo avatar Sep 17 '22 11:09 jzazo