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

ubuntu22.04 安装 PaddleSpeech r1.3.0 对 onnxruntime 的依赖问题 #2749

Closed
rocket049 opened this issue Dec 16, 2022 · 3 comments · Fixed by #2771
Closed

ubuntu22.04 安装 PaddleSpeech r1.3.0 对 onnxruntime 的依赖问题 #2749

rocket049 opened this issue Dec 16, 2022 · 3 comments · Fixed by #2771
Assignees

Comments

@rocket049
Copy link

Others

setup.py 中指定的版本 onnxruntime==1.11.0 现在已经无法下载到,需要把这一行代码改成 onnxruntime>=1.11.0

@yt605155624
Copy link
Collaborator

yt605155624 commented Dec 16, 2022

下载不到的原因是什么,我看 pypi 里面有啊 https://pypi.org/project/onnxruntime/1.11.0/
ubuntu 16.04 可正常下载,ubuntu 20.04 报错是啥?
image

@HuaHuaY
Copy link

HuaHuaY commented Dec 27, 2022

@yt605155624

huahua@HuaHuaATX:~/VTuberTalk$ pip install onnxruntime==1.11.0
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement onnxruntime==1.11.0 (from versions: 1.12.0, 1.12.1, 1.13.1)
ERROR: No matching distribution found for onnxruntime==1.11.0

可能是python版本问题,我用的3.10。pypi上1.11.0好像只支持到3.9

@yt605155624
Copy link
Collaborator

yt605155624 commented Dec 28, 2022

@HuaHuaY 好的多谢,我们发版测试只测 3.7 ~ 3.9, 如果因为 onnxruntime==1.11.0 导致无法正常安装 release 的 paddlespeech, 建议 clone PaddleSpeech 后修改 setup.py 里 onnxruntime 的版本后再进行源码安装, 参考

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants