ImportError libcublas.so.9.0

What to do when you've installed cuda and tensorflow, but you get this error right after you import tensorflow?

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

Just set the environment variable

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

github: https://github.com/tensorflow/tensorflow/issues/20569

aipool: https://ai-pool.com/d/importerror-libcublas-so-9-0

猜你喜欢

转载自www.cnblogs.com/hazarapet/p/10743336.html