onnxruntime icon indicating copy to clipboard operation
onnxruntime copied to clipboard

[Build] cuda12.2,python3.11无法安装1.17.1版本

Open userandpass opened this issue 10 months ago • 4 comments

Describe the issue

cuda12.2,python3.11无法安装1.17.1版本

Urgency

No response

Target platform

centos8

Build script

pip install onnxruntime==1.17.1或者用docker build都无法安装

Error / output

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

Visual Studio Version

No response

GCC / Compiler Version

No response

userandpass avatar Apr 10 '24 03:04 userandpass

pip install onnxruntime==1.17.1 works on my machine. If you want to install onnxruntime-gpu (CUDA 12.x), please run pip install onnxruntime-gpu --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/ https://onnxruntime.ai/docs/install/

mszhanyi avatar Apr 15 '24 04:04 mszhanyi

Please run the following command:

pip3 debug --implementation cp --verbose --python-version 3.11 |grep cp311

And paste the output here.

snnn avatar Apr 15 '24 20:04 snnn

Also, when you run the "pip install" command, you can add "-v" there to get more information. Like:

 pip install -v  onnxruntime-gpu --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/

snnn avatar Apr 15 '24 20:04 snnn

This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.

github-actions[bot] avatar May 16 '24 15:05 github-actions[bot]