Cannot install onnxruntime on jetson nano

Jetson nano - 4GB
Jetpack 4.5.1, 16GB emmc
Deepstream without docker

After successful installation on jetson xavier(protobuf==1.19.1, onnxruntime==1.11.0). We keep following Jetson Zoo - eLinux.org to install onnxruntime on jetson nano with similar version. However, we can’t install onnxruntime on jetson nano, with reason below:

Collecting protobuf (from onnxruntime-gpu==1.11.0)
  Using cached https://files.pythonhosted.org/packages/6c/be/4e32d02bf08b8f76bf6e59f2a531690c1e4264530404501f3489ca975d9a/protobuf-4.21.0-py2.py3-none-any.whl
protobuf requires Python '>=3.7' but the running Python is 3.6.9

Same error still occurs with different versions of onnxruntime.

STEP TO REPRODUCE

pip3 install protobuf==3.19.1

Download onnxruntime from Jetson Zoo - eLinux.org

pip3 install onnxruntime_gpu-1.11.0-cp36-cp36m-linux_aarch64.whl
1 Like

Upgrade pip before installing onnxruntime

pip3 install --upgrade pip
1 Like

Glad to know issue resolved.