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

前端 未结 5 1235
爱一瞬间的悲伤
爱一瞬间的悲伤 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条回答
  •  猫巷女王i
    2020-11-29 23:35

    No need for reinstallation. Install nvidia-cuda-dev:

    sudo apt install nvidia-cuda-dev
    

    Install cuDNN (which you download from https://developer.nvidia.com/cudnn), and set LD_LIBRARY_PATH accordingly (to cuda/lib64).

提交回复
热议问题