ModuleNotFoundError: No module named 'onnxruntime'

Looking in indexes: https://pypi.douban.com/simple/, piwheels - Simple index
Collecting onnxruntime
Downloading https://pypi.doubanio.com/packages/3a/00/18c55c957433d59ecc1ca89f77749fc65dc9085cba6c1d050086e66a345d/onnxruntime-1.13.1-cp39-cp39-manylinux_2_27_aarch64.whl (4.3 MB)
|████████████████████████████████| 4.3 MB 877 kB/s
Collecting sympy
Downloading https://www.piwheels.org/simple/sympy/sympy-1.11.1-py3-none-any.whl (6.5 MB)
|█████████████████████████████▎ | 5.9 MB 11 kB/s eta 0:00:48
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
sympy from https://www.piwheels.org/simple/sympy/sympy-1.11.1-py3-none-any.whl#sha256=24913080377bb4fe5522858166e50eea4a78d2cdf7748fdf4ad18d11609eea3d (from onnxruntime):
Expected sha256 24913080377bb4fe5522858166e50eea4a78d2cdf7748fdf4ad18d11609eea3d
Got 17df140ac130d77355ef12dceaa0e1ee548da8bfc448fe5d1ebdd43c0167038c

I sometimes build it from scratch, i.e. if it is working at the time.

Also, sometimes, there are particulars to building it from source. ARM has a write up and some other persons have write ups too.

I think douban is not the official onnx.

Seth

TI forked this, package, PIP will not install the correct version… Use the EDGE-AI image… which has a TI build for this pre-installed. ARM64 - Debian 11.x (Bullseye) - Monthly Snapshots - 2023-10-07

Regards,

1 Like