I am trying to install tensorflow on a server without root privileges. I used
pip install --user tensorflow
which generates error
ImportError: /lib64/libc.so.6: version `GLIBC_2.16' not found.
This problem has been discussed here. As mentioned in the answer to the question in the link and here, adding the glibc path to LD_LIBRARY_PATH can lead to further errors.
My server has a newer version of glibc in the directory /somepath/lib/glibc-2.22/. How do I set my LD_LIBRARY_PATH properly?
I am not using anaconda as in here. My packages are in ~/.local/lib/python3.6/site-packages.