Tensorflow: ImportError: libcusolver.so.8.0: cannot open shared object file: No such file or directory

前端 未结 5 1234
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-29 22:58

I\'m having problems in importing tensorflow in python3:

>>> import tensorflow as tf
Traceback (most recent call last):
  File \"/usr/local/lib/pyth         


        
5条回答
  •  误落风尘
    2020-11-29 23:35

    You could be having this problem if you installed the latest version of CUDA (9.0). If this is the case, you'll have the libcusolver.so.9.0 file or directory on your computer, but not 8.0, so python can't find it to import. Tensorflow doesn't yet support CUDA 9.0 (as of Oct 18th 2017).

    To fix this, install CUDA 8.0, which can be found here. You can find all their legacy releases at the bottom of the main download page.

提交回复
热议问题