美文网首页
[linux] tensorflow1.5以上cuda9.0安装

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

作者: kelseyh | 来源:发表于2018-07-23 18:44 被阅读30次
  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'中去

相关文章

网友评论

      本文标题:[linux] tensorflow1.5以上cuda9.0安装

      本文链接:https://www.haomeiwen.com/subject/tiojmftx.html