nknytk / built-onnxruntime-for-raspberrypi-linux

Built python wheel files of https://github.com/microsoft/onnxruntime for raspberry pi 32bit linux.
118 stars 20 forks source link

.whl not working #3

Closed mehreenjabeen closed 3 years ago

mehreenjabeen commented 3 years ago

Hi,

I tried to install the provided .whl on my rpi 3 model B+ using the beow command: _pip install onnxruntime-1.4.0-cp38-cp38-linuxarmv7l.whl I got the below error: _onnxruntime-1.4.0-cp38-cp38-linuxarmv7l.whl is not a supported wheel on this platform. My python version is 3.7.3 and pip version is pip 21.1.3

Can you suggest something what might be the issue?

nknytk commented 3 years ago

Could you try pip install onnxruntime-1.8.0-cp37-cp37m-linux_armv7l.whl ? The files with cp37 is whl for Python3.7, and I recommend you to use newer version.

mehreenjabeen commented 3 years ago

yes, it worked . Thanks a lot. Your wheels saved my time. Although I got succesfully installed onnxruntime , upon importing onnxruntime I am getting _/home/pi/.local/lib/python3.5/site-packages/onnxruntime/capi/onnxruntime_validation.py:22: UserWarning: Unsupported architecture (32bit). ONNX Runtime supports 64bit architecture, only. warnings.warn('Unsupported architecture (%s). ONNX Runtime supports 64bit architecture, only.' % __my_arch_)

Is onnxruntime meant for 64-bit systems only?

mehreenjabeen commented 3 years ago

closing the issue as despite the warning that pops up, I am able to proceed.