onnxruntime: pip install onnxruntime --- No matching distribution found for onnxruntime
Describe the bug Unable to install onnxruntime via pip/pip3
Urgency Trying to get this up and running for a business project we have due in a couple weeks.
System information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 11 & Mac OSX (latest)
- ONNX Runtime installed from (source or binary): binary (attempting - pip install onnxruntime)
- ONNX Runtime version: 1.11.0
- Python version: 3.9
- Visual Studio version (if applicable): VS Code (latest) / Juptyer (latest)
- GCC/Compiler version (if compiling from source):
- CUDA/cuDNN version:
- GPU model and memory:
To Reproduce
pip install onnxruntime
Expected behavior Installation of runtime libraries
Screenshots

About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 7
- Comments: 17 (3 by maintainers)
I’m getting this error just today on Windows and Docker (alpine container)
We’ll plan to add 3.10 soon so thank you for your input!
And I tried to compile the wheels for Python 3.8/3.9 (Apple Silicon), maybe u need it. and here is the command I used to compile them (Tested on Macbook M1 Pro)
onnxruntime-1.11.0-cp38-cp38-macosx_12_0_arm64.whl onnxruntime-1.11.0-cp39-cp39-macosx_12_0_arm64.whl
for now, there is a workaround for u. to install onnxruntime on Apple silicon with conda-forge
@ShomyLiu @davidatorres
Thanks for suggestions. I had to use
python3.1 -m pip install onnxruntimebecause of python3.11 being default.@davidatorres @venttola for now, offical pypi only has wheels for 3.7 to 3.9. If you wanna use onnxruntime with 3.10. You should compile it by yourself.
@troyliu105 - Using Conda worked for me on Mac OSX with Python 3.9, but fails on Windows with Python 3.10.
conda install onnxruntime -c conda-forgeSame issue on Manjaro Linux 21.2.5 with Python 3.10.2.
However my docker build works and I am using public.ecr.aws/lambda/python:3.8 as base image.
Hi, any idea when M1, M2 and M3 will be supported?
Same issue on MacOS with MacBook Pro( M1 2020) , macOS Monterey 12.1; Python 3.9
@faxu @chilo-ms