azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

pip install --upgrade azureml-sdk[automl] fails on python 3.8 at requirement onnxruntime==1.0.0

Open chrisfcarroll opened this issue 6 years ago • 7 comments

  • Package Name: azureml-sdk[automl]
  • Package Version: 1.13.0
  • Operating System: macos Catalina 10.15.6
  • Python Version: 3.8.5

Describe the bug I run pip install --upgrade azureml-sdk[automl] as per the docs.

Installation fails.

To Reproduce Steps to reproduce the behavior:

  1. pip install --upgrade azureml-sdk[automl]

Screenshots

ERROR: Could not find a version that satisfies the requirement onnxruntime==1.0.0 (from azureml-train-automl-runtime~=1.13.0->azureml-train-automl~=1.13.0; extra == "automl"->azureml-sdk[automl]) (from versions: 1.2.0, 1.3.0, 1.4.0)
ERROR: No matching distribution found for onnxruntime==1.0.0 (from azureml-train-automl-runtime~=1.13.0->azureml-train-automl~=1.13.0; extra == "automl"->azureml-sdk[automl])

Additional context

  • azureml-sdk[explain] succeeds
  • pip install onnxruntime==1.0.0 fails with the same ERROR: Could not find a version that satisfies the requirement onnxruntime==1.0.0 (from versions: 1.2.0, 1.3.0, 1.4.0)
  • pip install onnxruntime succeeds and installs 1.4.0
  • python -c 'import struct;print( 8 * struct.calcsize("P"))' --> 64

chrisfcarroll avatar Sep 04 '20 16:09 chrisfcarroll

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureml-github.

ghost avatar Sep 04 '20 16:09 ghost

I am also having the same issues and still not able to connect to workspace from my location connection. Any new update?

3Mcolab avatar Sep 07 '20 05:09 3Mcolab

@3Mcolab - I'm not sure this issue will resolve 'not able to connect to workspace from my location'. Just doing python -m pip install azureml-sdk does work on my system, it's only the [automl] extension that doesn't work

chrisfcarroll avatar Sep 09 '20 10:09 chrisfcarroll

did anybody found the solve for this issue?

githubkingchamp avatar Sep 14 '20 03:09 githubkingchamp

@chrisfcarroll @githubkingchamp Unfortunately the full automl package does not currently support Python version 3.8.5 because of dependent packages.

However, you can use a client version of automl, which is in the azureml-train-automl-client package. This package is installed by default when you install the azureml-sdk package. It allows you to submit automl remote runs and do remote inferencing. It does not support local training or inferencing.
There is an experimental sample notebook that demonstrates remote inference at: https://github.com/Azure/MachineLearningNotebooks/tree/master/how-to-use-azureml/automated-machine-learning/experimental/regression-model-proxy This notebook also requires pandas<1.0.0, numpy<1.19.0, azureml-widgets, matplotlib and sklearn.

jeff-shepherd avatar Oct 23 '20 18:10 jeff-shepherd

Yes, thanks, my main usecase was to submit azure runs. Otherwise I can probably live with dropping to Python 3.7.

chrisfcarroll avatar Oct 27 '20 17:10 chrisfcarroll

Closing because there's a workaround - drop to python 3.7 - and the issue is with dependent packages

chrisfcarroll avatar Oct 29 '20 12:10 chrisfcarroll