0

I have installed tensorflow 0.10 in Anaconda2 -> Python 2.7.

OS: RHEL6.8

I was getting below error when I try to run

python -c "import tensorflow"

ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ~/anaconda2/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so)

I have glibc_2.12 in the host. I installed glibc_2.14 in another dir.

Now I am running the command as below:

export LD_LIBRARY_PATH=/opt/glibc-2.14/lib

python -c "import tensorflow"

Now I am getting a different error:

Segmentation fault (core dumped)

Banshi
  • 1
  • 1

1 Answers1

0

export LD_LIBRARY_PATH=/opt/glibc-2.14/lib

This answer explains why you should never do that, and what to do instead.

Employed Russian
  • 199,314
  • 34
  • 295
  • 362