[linux] tensorflow1.5以上cuda9.0安装问题

  1. 网络不稳定时,使用清华镜像,那是相当的快!
    在'~/.pip/pip.conf'中编辑如下:(没有文件夹或者文件,就新建)

[global]
timeout = 6000
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
use-mirrors = true
mirrors = https://pypi.tuna.tsinghua.edu.cn

  1. 明明服务器装了cuda9.0,却报错“ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory”:
    路径没有加正确,尝试:export LD_LIBRARY_PATH=LD_LIBRARY_PATH:/usr/local/cuda-9.0/lib64/
    如果成功了,可以直接加入到'.bashrc'中去
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容