------------------------------------------------------------- Do you accept the previously read EULA? accept/decline/quit: accept
Install NVIDIA Accelerated Graphics Driver for Linux-x86_64 375.26? (y)es/(n)o/(q)uit: n
Install the CUDA 8.0 Toolkit? (y)es/(n)o/(q)uit: y
Enter Toolkit Location [ default is /usr/local/cuda-8.0 ]:
Do you want to install a symbolic link at /usr/local/cuda? (y)es/(n)o/(q)uit: y
Install the CUDA 8.0 Samples? (y)es/(n)o/(q)uit: y
Enter CUDA Samples Location [ default is /home/zxh ]:
Installing the CUDA Toolkit in /usr/local/cuda-8.0 ... Missing recommended library: libGLU.so Missing recommended library: libX11.so Missing recommended library: libXi.so Missing recommended library: libXmu.so
Installing the CUDA Samples in /home/zxh ... Copying samples to /home/zxh/NVIDIA_CUDA-8.0_Samples now... Finished copying samples.
=========== = Summary = ===========
Driver: Not Selected Toolkit: Installed in /usr/local/cuda-8.0 Samples: Installed in /home/zxh, but missing recommended libraries
Please make sure that - PATH includes /usr/local/cuda-8.0/bin - LD_LIBRARY_PATH includes /usr/local/cuda-8.0/lib64, or, add /usr/local/cuda-8.0/lib64 to /etc/ld.so.conf and run ldconfig as root
To uninstall the CUDA Toolkit, run the uninstall script in /usr/local/cuda-8.0/bin
Please see CUDA_Installation_Guide_Linux.pdf in /usr/local/cuda-8.0/doc/pdf for detailed information on setting up CUDA.
***WARNING: Incomplete installation! This installation did not install the CUDA Driver. A driver of version at least 361.00 is required for CUDA 8.0 functionality to work. To install the driver using this installer, run the following command, replacing <CudaInstaller> with the name of this run file: sudo <CudaInstaller>.run -silent -driver
#运行cudnn-sample-v5 tar –zxvf cudnn-sample-v5.tgz #解压压缩包 cd mnistCUDNN #转到解压的mnistCUDNN目录下 make #make 命令下 ./mnistCUDNN #在mnistCUDNN目录下执行./mnistCUDNN #改程序运行成功,如果结果看到Test passed!说明cudnn安装成功。
6.1.1. modulenotfounderror: no module named ‘matplotlib._path’问题的解决
1
conda install matplotlib
6.1.2. Sub-process /usr/bin/dpkg returned an error code (1)解决方法
1 2 3 4 5 6
cd /var/lib/dpkg sudo mv info info.bak #做备份 sudo mkdir info sudo apt-get install cmake --reinstall #重新安装cmake包 sudo rm -rf info sudo mv info.bak info #还原info
6.1.3. Tensorflow :Unsuccessful TensorSliceReader constructor: Failed to find any matching files