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

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

    Found the solution:

    I reinstalled nvidia-381, CUDA-8.0 (using the runfile) and cuDNN 6.0. Then I added the following in my .bashrc:

    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64/
    

提交回复
热议问题