我正在尝试在 Ubuntu 16.04 64x 上为使用 Python 3.6 的 conda 环境安装支持 GPU 的 Tensorflow。
我尝试安装所有GPU 要求,然后pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.10.0-cp36-cp36m-linux_x86_64.whl
从我的 conda 环境中运行。
但是,当我打开 Python 终端并尝试时,import tensorflow as tf
我得到了一个ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory
.
这是要求的状态:
nvidia-smi
)release 7.5, V7.5.17
这是 的输出nvcc -v
)cat /usr/local/cuda/version.txt
)。我真的很困惑,因为我在其他地方读到 CUDA 版本和 nvcc 版本应该匹配。sudo dpkg -i /path/to/deb/file
然后是 …