安装tensorflow-gpu出现ImportError: libcublas.so.10.0
看了很多都没找到自己想要的解决方式,最后弄了很久捣鼓出来了,记录一下。
解决方式:
1.用一个新的python虚拟环境
conda create -n py37 python=3.7
2.需要下载想下载的TensorFlow-gpu版本对应的cuda,我的是TensorFlow-gpu=1.13.1的,所以下载的cuda版本为10.0.130的。
conda install cudatoolkit==10.0.130
3.之后安装对应的TensorFlow-GPU版本就可以了
pip install tensorflow-gpu==1.13.1