Onnxruntime: pip install failed

Created on 24 Dec 2018  路  4Comments  路  Source: microsoft/onnxruntime

Describe the bug

exlsunshine@exlsunshine:~/downloads $ pip install onnxruntime
Collecting onnxruntime
  Could not find a version that satisfies the requirement onnxruntime (from versions: )
No matching distribution found for onnxruntime

System information

- OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:        18.04
Codename:       bionic
  • ONNX Runtime installed from (source or binary):
    pip install

  • ONNX Runtime version:
    0.1.4

  • Python version:

exlsunshine@exlsunshine:~/downloads $ python -V
Python 2.7.15rc1
exlsunshine@exlsunshine:~/downloads $ python3 -V
Python 3.6.7
  • GCC/Compiler version (if compiling from source):
exlsunshine@exlsunshine:~/downloads $ gcc --version
gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  • CUDA/cuDNN version:

To Reproduce
pip install onnxruntime

Expected behavior
install package

Screenshots

Additional context

Most helpful comment

onnxruntime only supports python 3.x. If your 'pip' command is from python 2.x, then it won't work. Please run:

pip3 install onnxruntime

All 4 comments

onnxruntime only supports python 3.x. If your 'pip' command is from python 2.x, then it won't work. Please run:

pip3 install onnxruntime

onnxruntime only supports python 3.x. If your 'pip' command is from python 2.x, then it won't work. Please run:

pip3 install onnxruntime

Thank you, I have figured it out, pip3 works.

I am facing the same error even with "pip3 install onnxruntime".
Any suggestions?

I am facing the same error even with "pip3 install onnxruntime".
Any suggestions?

Could you please open a new issue and provide us more information? For example, your operating system version, python version.

Was this page helpful?
0 / 5 - 0 ratings