error: command ‘/usr/bin/nvcc‘ failed with exit status 1

/home/user4/anaconda3/lib/python3.7/site-packages/torch/include/ATen/cuda/CUDAContext.h:7:10: fatal error: cublas_v2.h: No such file or directory
 #include 
          ^~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/nvcc' failed with exit status 1

更换Linux的GCC版本

各位看官老爷,如果觉得对您有用麻烦赏个子,创作不易,0.1元就行了。下面是微信乞讨码:

error: command ‘/usr/bin/nvcc‘ failed with exit status 1_第1张图片

参考error: command ‘/usr/bin/nvcc‘ failed with exit status 1 - 云+社区 - 腾讯云

你可能感兴趣的:(异常处理,计算机视觉,深度学习,机器学习)