pycharm报错:ImportError: libcusolver.so.8.0: cannot open shared object file: No such file or directory

时间:2021-08-24 11:46:14

pycharm报错:ImportError: libcusolver.so.8.0: cannot open shared object file: No such file or directory

解决办法:

Run -> Edit Configurations

在Environment variables中添加:

LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64

如下图所示:

pycharm报错:ImportError: libcusolver.so.8.0: cannot open shared object file: No such file or directory

点击ok, 然后Apply即可。