Skip to content

Instantly share code, notes, and snippets.

@comwrg
Last active December 2, 2017 13:59
Show Gist options
  • Select an option

  • Save comwrg/d57f35c6a41dc50f750c54e839b82d03 to your computer and use it in GitHub Desktop.

Select an option

Save comwrg/d57f35c6a41dc50f750c54e839b82d03 to your computer and use it in GitHub Desktop.
log install tensorflow env

Install tensorflow environment

Install CUDA

CUDA version: 8.0
download URL: https://developer.nvidia.com/cuda-80-ga2-download-archive

Install cuDNN

cuDNN version: (Download cuDNN v6.0 (April 27, 2017), for CUDA 8.0) cuDNN v6.0 Library for Linux
Documention: http://docs.nvidia.com/deeplearning/sdk/cudnn-install/index.html
After download tar file run

tar -xzvf cudnn-9.0-linux-x64-v7.tgz
sudo cp cuda/include/cudnn.h /usr/local/cuda/include
sudo cp cuda/lib64/libcudnn* /usr/local/cuda/lib64
sudo chmod a+r /usr/local/cuda/include/cudnn.h /usr/local/cuda/lib64/libcudnn*

Add environment variables

add this line to ~/.bashrc

export LD_LIBRARY_PATH=/usr/local/cuda/lib64/

pycharm cant find library

URL: https://stackoverflow.com/questions/33812902/pycharm-cannot-find-library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment