1.检查cuda和cudnn版本
参考
查看cuda和cudnn的版本:
cat /usr/local/cuda/version.txt
cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2
服务器装了8.0cuda,没装cudnn
2.安装anaconda
由于只能命令行安装,所以先命令行下载wget https://repo.anaconda.com/archive/Anaconda2-5.1.0-Linux-x86_64.sh
下载地址为https://www.anaconda.com/download/#linux或历史版本https://repo.anaconda.com/archive/