1024programmer News tx2 uses pip to install onnx, solve CouldnotbuildwheelsforonnxwhichusePEP517andcannotbeinstalleddirectly

tx2 uses pip to install onnx, solve CouldnotbuildwheelsforonnxwhichusePEP517andcannotbeinstalleddirectly

Environment :tx2+cuda10.0+python3.6

Failed to install onnx using pip , the execution process is as follows &#xff1a ;

pip3 install onnx=="1.6.0"

error :

ERROR: Failed building wheel for onnx
Failed to build onnx
ERROR: Could not build wheels for onnx which use PEP 517 and cannot be installed directly

Passed Baidu& #xff0c; Check & # xff1a; Installing onnx requires protobuf compilation, so protobuf needs to be installed before installation.

pip install numpy
pip install protobuf
sudo apt-get install protobuf-compiler libprotoc-dev
pip install onnx

Installed again,successfully.

pip3 install onnx=="1.6.0"

result:

This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/tx2-uses-pip-to-install-onnx-solve-couldnotbuildwheelsforonnxwhichusepep517andcannotbeinstalleddirectly/

author: admin

Previous article
Next article

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索