pytorch1.2 tensorflow2.0踩坑

不打扰是莪最后的温柔 提交于 2019-11-29 00:49:14

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_LIBRARY_PATH=/home/work/glibc-2.14/lib:$LD_LIBRARY_PATH

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!