怎样在virtualenv虚拟环境中解决这个问题Error: Failed to find dynamic library: libcublas.so ( libcublas.so: cannot open shared object file: No such file or directory ) ?
Created by: WellTung666
Error Message Summary:
Error: Failed to find dynamic library: libcublas.so ( libcublas.so: cannot open shared object file: No such file or directory ) Please specify its path correctly using following ways: Method. set environment variable LD_LIBRARY_PATH on Linux or DYLD_LIBRARY_PATH on Mac OS. For instance, issue command: export LD_LIBRARY_PATH=... Note: After Mac OS 10.11, using the DYLD_LIBRARY_PATH is impossible unless System Integrity Protection (SIP) is disabled. at (/paddle/paddle/fluid/platform/dynload/dynamic_loader.cc:177)
在本地运行的时候也遇到这样的问题,通过添加export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64/后解决问题。 在虚拟环境中尝试过在activate文件中添加但是没有用,有没有人知道怎么解决这个问题的?