Recently tried to learn tensorflow, but because the problem of learning resources leads to a series of problems, in simple terms, to learn tensorflow, to directly view the guidance of the GitHub, rather than according to the blog, Baidu on the guidance, because the version of the change too fast, similar to the College of Geeks, Blog guidance and code has not run, according to the error step-by-step processing instead into a dead end, the more mistakes, the following gives me in the installation of Keras and TensorFlow encountered errors. errors and routine processing CP: Unable to get "cuda/include/cudnn.h" File Status (STAT): No file or directory
Note To open the relevant files and Files folder operation permissions, if it is reinstall CUDNN, note that the original Cudnn.h file. couldn ' t open CUDA Library libcurand.so. Ld_library_path:
and add the following two lines to your ~/.BASHRC file
Export ld_library_path= "$LD _library_path:/usr/local/cuda/lib64"
Export Cuda_home=/usr/local/cuda
VI./BASHRC
source./BASHRC
Vim i insert, ESC,: w Save
You can also open the environment variable configuration file through sudo gedit/ext/enviroment, and the changes cannot be found CUDNN
Here's how to write link content processing
If you follow the online tutorials still complain.
Update the latest version of Pip,tensorflow. Restart the terminal, the previous reported errors will disappear.