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-LMLPHP

点击ok, 然后Apply即可。

05-11 22:45