-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip doesn't install latest version of onnxruntime #17166
Comments
Thanks for reporting the bug. It is very interesting. Starting from 1.12.1 release, our packaging pipeline no longer generates universal2 packages, and I don't see what code change could make it: v1.12.0...v1.12.1 |
Your OS version is 13.5, but your pip doesn't seem to accept tags for macOS 11.x. So, maybe you should upgrade your pip? See: https://pip.pypa.io/en/stable/installation/#upgrading-pip |
Firstly, thank you for looking into this. I'm already on the latest version of pip. I'm wondering if it's got to do anything with pyenv which I use as the base Python and use it to create venvs
|
This is an issue with python built with old macOS SDK.
xref pypa/packaging#497 / pypa/pip#11715 |
Thank you very much, @mayeut ! I tested this and it works. I spent many hours trying to figure out the root cause, so I appreciate the help! |
Describe the issue
When trying to install
onnxruntime>=1.14.1
on Mac M1, I get a no matching distribution errorDoing an unbounded pip install installs version 1.12.0
When I perform
pip install -v onnxruntime
, I see that it is skipping all the wheels except the below wheel due to compatibility issuesWheel:
/packages/83/cc/2ed69b0cf2dba2937b4d5bd65c7e3800f1c4f3624fc33ad20e9add636bba/onnxruntime-1.12.0-cp310-cp310-macosx_10_15_universal2.whl
Log which skips the wheels:
Running
pip debug --verbose | grep -i cp310-cp310
prints the following which doesn't havemacosx_11_0_arm64
which I'm not sure how to get.This is what I feel is causing the issue and I'm not sure how to get or build wheels for the existing platforms that I see.
To reproduce
Urgency
No response
Platform
Mac
OS Version
13.5
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.15.1
ONNX Runtime API
Python
Architecture
ARM64
Execution Provider
Default CPU
Execution Provider Library Version
No response
The text was updated successfully, but these errors were encountered: