unable to execute ‘usr/local/cuda-10.0/bin/nvcc‘: No such file or directory【编译过程出错解决办法】

unable to execute 'usr/local/cuda-10.0/bin/nvcc': No such file or directory
error: command 'usr/local/cuda-10.0/bin/nvcc' failed with exit status 1

解决办法:使用export CUDA_HOME='cuda位置'   重新设置环境变量。

问题解决。

unable to execute ‘usr/local/cuda-10.0/bin/nvcc‘: No such file or directory【编译过程出错解决办法】_第1张图片

解决后,成功编译。

unable to execute ‘usr/local/cuda-10.0/bin/nvcc‘: No such file or directory【编译过程出错解决办法】_第2张图片

解决问题参考文章:https://blog.csdn.net/sparkexpert/article/details/103693678

你可能感兴趣的:(解决问题,python,ubuntu)