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

无法通过pip install paddle2onnx安装,同时也无法通过编译安装 #1237

Closed
XianlinYao opened this issue Apr 24, 2024 · 6 comments
Assignees
Labels

Comments

@XianlinYao
Copy link

Please fill in the information below so that we can solve the problem quickly, Thanks !

Describe the bug
使用官方提供的所有方式均无法安装paddle2onnx

Environment
Win11 23H2
python 3.11.7 & 3.12.3

Screenshots
34f84f7c5481501d13e313e10d1499d
55cf5c6683a46f5d9e516518b656aff
第一张是通过pip安装,第二张是通过编译安装

Additional context

@Zheng-Bicheng
Copy link
Collaborator

Zheng-Bicheng commented Apr 24, 2024

看报错是Python环境缺少包了,先执行以下代码,再编译试试?

pip install setuptools wheel auditwheel auditwheel-symbols build

@Zheng-Bicheng Zheng-Bicheng self-assigned this Apr 25, 2024
@XianlinYao
Copy link
Author

看报错是Python环境缺少包了,先执行以下代码,再编译试试?

pip install setuptools wheel auditwheel auditwheel-symbols build

安装了这个包再使用VS去编译吗

@Zheng-Bicheng
Copy link
Collaborator

安装了这个包再使用VS去编译吗

@XianlinYao 是的

@XianlinYao
Copy link
Author

安装了这个包再使用VS去编译吗

@XianlinYao 是的

还是一样的问题
屏幕截图 2024-04-25 184916

@gutenye
Copy link

gutenye commented May 2, 2024

通过python 3.8安装pip install paddle2onnx 成功

@XianlinYao
Copy link
Author

通过python 3.8安装pip install paddle2onnx 成功

3.8是没问题,就是很奇怪为什么照着教程没法在3.11,3.12安装

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

No branches or pull requests

3 participants