ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory

前端 未结 12 1386
灰色年华
灰色年华 2020-12-08 10:27

I have installed Cuda 10.1 and cudnn on Ubuntu 18.04 and it seems to be installed properly as type nvcc and nvidia-smi, I get proper response:

user:~$ nvcc -V         


        
12条回答
  •  执念已碎
    2020-12-08 10:54

    I faced similar issue when trying to install spconv.

    File "/home/kmario23/anaconda3/envs/py38/lib/python3.8/site-packages/torch/_ops.py", line 105, in load_library
        ctypes.CDLL(path)
      File "/home/kmario23/anaconda3/envs/py38/lib/python3.8/ctypes/__init__.py", line 373, in __init__
        self._handle = _dlopen(self._name, mode)
    OSError: libcublas.so.10: cannot open shared object file: No such file or directory
    

    Installing the cuda toolkit version 10.1 inside the specific environment resolved the issue:

    $ conda install -c anaconda cudatoolkit=10.1
    

提交回复
热议问题