pytorch1.2 tensorflow2.0踩坑
Anaconda3-5.2.0-Linux-x86_64.sh python3.6 sh Anaconda3-5.2.0-Linux-x86_64.sh 增加清华源: https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/ 如果卸载重装执行conda install ***会报错: Segmentation fault when installing packages 需要更新Upgrading pycosat to 0.6.2 执行pip install update pycosat ,之后就可以继续安装了 https://github.com/conda/conda/issues/7815 conda install cudnn = 7.6 . 0 conda install cudatoolkit = 10.0 . 130 注意要先装cudnn,因为conda会把依赖更新,而cudnn需要的最新cuda是10.1。这样后安装会把之前的新版本降级 参考: https://zhuanlan.zhihu.com/p/71581533 升级gblic 下载相应的版本: https://ftp.gnu.org/gnu/glibc/ 解压编译 如果不想替换/lib64/libc.so.6的方法: 每次打开新窗口执行: export LD