unable to execute ‘/usr/local/cuda-8.0/bin/nvcc‘: No such file or directory
程序员文章站
2022-03-08 19:27:33
...
unable to execute ‘/usr/local/cuda-8.0/bin/nvcc’: No such file or directory我看了网上大部分的错都是在路径前多加了一个:但我这里报错就不完全的这样,之后查看软链接发现之前的cuda-8.0已经整个从文件目录中没有了。
解决办法:
cd /usr/local;
ls
看现在这个目录下有的cuda文件,然后修改CUDA_HOME,CUDA_PATH
vi ~/.bashrc
#如上面修改相应链接
source ~/.bashrc
推荐阅读
-
CUDA 问题解决 —nvcc -V bash: /usr/bin/nvcc: No such file or directory
-
unable to execute ‘/usr/local/cuda/bin/nvcc‘: No such file or directoryerror: command ‘/usr/local/cd
-
error: unable to invoke subcommand: /usr/bin/swift-build (No such file or directory)
-
mysql初始化/usr/local/mysql/bin/mysqld: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory
-
mysql初始化/usr/local/mysql/bin/mysqld: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory
-
unable to execute ‘/usr/local/cuda-8.0/bin/nvcc‘: No such file or directory