question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue
  • 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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jeff-shepherdcommented, Oct 23, 2020

@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.

0reactions
chrisfcarrollcommented, Oct 29, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Having issues pip installing? - Discussions on Python.org
Pyby here, and I'm having issues with pip for some reason. ... ERROR: Could not find a version that satisfies the requirement ......
Read more >
Error when installing Tensorflow - Python 3.8 - Stack Overflow
Running this command on my Mac gives this error: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/ ...
Read more >
Install - Greykite - LinkedIn Open Source
$ python -m pip install greykite . Note: starting from version 0.2.0, fbprophet and its dependencies were converted to optional dependencies. They are...
Read more >
Installing Ray — Ray 2.2.0 - the Ray documentation
Install Ray with support for the dashboard + cluster launcher pip install -U ... For Python 3.8 and 3.9, the m before the...
Read more >
PIP Install Pythonnet - A quick read - ActiveState
Click to install and use Python package Pythonnet. Also, learn about the modern solution to building Python packages.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found