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

前端 未结 5 1213
爱一瞬间的悲伤
爱一瞬间的悲伤 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:47

    I faced this error due to incompatibility between Tensorflow version with CUDA. I had tensorflow_gpu-1.3.0, CUDA 9 and cuDNN 7 which are incompatible as per this https://www.tensorflow.org/install/source#tested_build_configurations

    so I uninstalled tensorflow_gpu-1.3.0 and installed tensorflow_gpu-1.5.0 and it worked fine

提交回复
热议问题