tensorflow-community-wheels icon indicating copy to clipboard operation
tensorflow-community-wheels copied to clipboard

TF 2.4.2, No AVX (nehalem arch), no GPU, Ubuntu 16.04, Python 3.7

Open Robbi373 opened this issue 3 years ago • 4 comments

Information is in the title, here ya go:

https://drive.google.com/file/d/11UUWu3O01K25sD4usyroSzEtW6Cg2Sb9/view?usp=sharing

Has been verified to work, see #123

Robbi373 avatar Aug 02 '21 17:08 Robbi373

Does not WFM on Ubuntu 16.04.3 LTS, Atom E3930 (aws deeplens 1.0). Installs fine but when running I get this:

  File "/home/aws_cam/.local/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 64, in <module>
    from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /home/aws_cam/.local/lib/python3.7/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so)

joshwand avatar Aug 11 '21 19:08 joshwand

This is weird, since the Ubuntu 16.04 docker I used has glibc 2.23 installed, I don't know where this 2.27 requirement comes from. Did you by any chance install a 18.04-aimed tensorflow wheel beforehand? Since glibc 2.27 is default for 18.04, as far as I know. You can force the reinstall by pip install --force-reinstall --no-cache-dir {wheel name}.

Robbi373 avatar Aug 11 '21 21:08 Robbi373

You're right, I did try installing a 18.04 package. I tried reinstalling as above, but still getting the same error. Tried completely wiping tensor* from site-packages, but same result :(

joshwand avatar Aug 11 '21 22:08 joshwand

Oops, I was pointing at the wrong .whl the whole time! Please disregard :)

joshwand avatar Aug 11 '21 22:08 joshwand