Environment :tx2+cuda10.0+python3.6
Failed to install onnx using pip , the execution process is as follows : ;
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: