ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory when installing tensor flow on Ubuntu 16.04.03

前端 未结 3 731
难免孤独
难免孤独 2021-01-20 17:04

I am trying to install tensorflow with cuda and gpu support. When I try to import it, I get the following error:

Traceback (most recent call last):
  File \"         


        
3条回答
  •  星月不相逢
    2021-01-20 17:41

    I had cuda-9.0 installed and the LD_LIBRARY_PATH was pointing to the correct location. Turned out that the permission of the folder /usr/local/cuda-9.0 was wrong. I could not even cd to the folder. I changed the owner of the cuda-9.0 from root to my-user-name and after that python was able to find the missing library.

提交回复
热议问题