Skip to content
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

[Build] ERROR: No matching distribution found for onnxruntime #21749

Closed
chinesejunzai12 opened this issue Aug 15, 2024 · 10 comments
Closed

[Build] ERROR: No matching distribution found for onnxruntime #21749

chinesejunzai12 opened this issue Aug 15, 2024 · 10 comments
Labels
build build issues; typically submitted using template

Comments

@chinesejunzai12
Copy link

Describe the issue

在使用pip install onnxruntime的时候, 报下面问题:
Using pip 24.2 from /home/deploy/anaconda3/envs/langchain_env/lib/python3.12/site-packages/pip (python 3.12)
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
ERROR: Could not find a version that satisfies the requirement onnxruntime (from versions: none)
ERROR: No matching distribution found for onnxruntime
请问同样的命令, 在python==3.11中尝试安装可以成功, 但是在3.12中不可以, 是因为目前还不知道python3.12版本么?

Urgency

No response

Target platform

Linux

Build script

pip install onnxruntime

Error / output

ERROR: Could not find a version that satisfies the requirement onnxruntime (from versions: none)
ERROR: No matching distribution found for onnxruntime

Visual Studio Version

No response

GCC / Compiler Version

No response

@chinesejunzai12 chinesejunzai12 added the build build issues; typically submitted using template label Aug 15, 2024
@tianleiwu
Copy link
Contributor

tianleiwu commented Aug 15, 2024

I saw python 3.12 wheels for Windows, Linux and Mac OS:
https://pypi.org/project/onnxruntime/#files

Try use the official pypi instead of the tsinghua index.

@chinesejunzai12
Copy link
Author

ERROR: onnxruntime-1.19.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl is not a supported wheel on this platform.

@chinesejunzai12
Copy link
Author

ERROR: onnxruntime-1.19.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl is not a supported wheel on this platform.

目前还不支持

@tianleiwu
Copy link
Contributor

ERROR: onnxruntime-1.19.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl is not a supported wheel on this platform.

目前还不支持

What Linux are you using?
I just tried in Azure Linux and it is good. You can try Ubuntu in WSL (Windows Subsystem for Linux).

@chinesejunzai12
Copy link
Author

chinesejunzai12 commented Aug 19, 2024 via email

@chinesejunzai12
Copy link
Author

chinesejunzai12 commented Aug 27, 2024 via email

@wukongbuku
Copy link

ERROR: onnxruntime-1.19.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl is not a supported wheel on this platform.

目前还不支持

是不是centos 7 连 1.8都不支持

——————————————————————————————————————
pip install onnxruntime==1.18.1
ERROR: Could not find a version that satisfies the requirement onnxruntime==1.18.1 (from versions: 1.12.0, 1.12.1, 1.13.1, 1.14.0, 1.14.1, 1.15.0, 1.15.1, 1.16.0, 1.16.1, 1.16.2, 1.16.3)
ERROR: No matching distribution found for onnxruntime==1.18.1

@tianleiwu
Copy link
Contributor

CentOS Linux 7 reached end of life (EOL) on June 30, 2024 so we no longer support it since 1.17.
You can still use onnxruntime version<= 1.16.3 on CentOS.

@alanwilter
Copy link

I use docker Amazon Linux release 2 (Karoo):

FROM public.ecr.aws/lambda/python:3.10

Do you have a suggestion to replace it?

@alanwilter
Copy link

Nevermind, using FROM public.ecr.aws/lambda/python:3.12 seems to have solved my problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build build issues; typically submitted using template
Projects
None yet
Development

No branches or pull requests

4 participants