I created virtualenv with the tensor stream installed, and I changed the Python interpreter where the virtual server is located. When I ran the program, it threw an error:
ImportError: libcudnn.so.5: cannot open shared object file: No such file or directory
I have the following lines written in my .bashrc file
export CUDA_HOME=/usr/local/cuda-8.0
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:$LD_LIBRARY_PATH
export PATH=${CUDA_HOME}/bin:${PATH}
In addition, I found the libcudnn.so.5 file in the following path:
/usr/local/cuda-8.0/lib64
I ran into this error before opening PyCharm and I was able to install the correct version of cudnn. The problem is that I can use
$ source [virtualenv_path]
virtualenv python , , . Pycharm, , . - ? ?