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

 

 posted on 2019-04-20 23:20  Hazarapet  阅读(554)  评论(0编辑  收藏  举报