Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while importing Tensorflow in python2.7 in Red Hat release 6.6. 'GLIBC_2.17 not found'

This is essentially a repeat of question asked here. However, I am using Red Hat Version 6.6, which has glibc 2.12 (glibc 2.17, I think was introduced with RHEL ver 7). Is it possible to install tensorflow locally, without upgrading OS. (I don't have admin privileges). This is the error I am getting

ImportError: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by /data02/storage/kgupt33/.local/anaconda/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so)
like image 871
kampta Avatar asked Nov 16 '15 08:11

kampta


1 Answers

This is essentially a repeat of question asked here.

And the same answer should work. What stops you from downloading glibc-2.17 packages, unpacking them, and using the glibc-2.17/ld.so with correct --library-path?

Is it possible to install tensorflow locally, without upgrading OS.

Yes, using above answer.

like image 130
Employed Russian Avatar answered Oct 24 '22 04:10

Employed Russian