google-coral / pycoral

Python API for ML inferencing and transfer-learning on Coral devices
https://coral.ai
Apache License 2.0
355 stars 146 forks source link

Pycoral prebuilt package depends on GLIBC_2.27 which makes it unusable with older systems #116

Open spometun opened 1 year ago

spometun commented 1 year ago

Description

We have devices which we plan to upgrade with M.2 Coral TPU, these devices run old Linux with GLIBC 2.19

Pycoral crashes with missed GLIBC_2.27 (I attached logs to Relevant Log Output section)

I tried wheel and deb version of pycoral package for python 3.7, in both cases strings _pywrap_coral.cpython-37m-x86_64-linux-gnu.so | grep GLIBC_ contains GLIBC_2.27

While other packages we use (numpy, scipy, tensorflow) work well (as far as I understand, they use manylinux build and depend on GLIBC_2.17 or earlier)

Click to expand! ### Issue Type Build/Install ### Operating System Linux ### Coral Device M.2 Accelerator B+M ### Other Devices _No response_ ### Programming Language Python 3.7 ### Relevant Log Output ```shell ... File "pycoral/utils/edgetpu.py", line 24, in ImportError: /lib/libm.so.6: version `GLIBC_2.27' not found (required by /.../pycoral/pybind/_pywrap_coral.cpython-37m-x86_64-linux-gnu.so) ```