1、提示错误:The nvcc binary could not be ’
EnvironmentError: The nvcc binary could not be located in your $PATH. Either add it to your path, or set $CUDAHOME
如果出现此错误,有可能是没有安装cuda
2、解决方法
sudo apt install nvidia-cuda-toolkit
安装后再进行make编译
3、如果出现错误:The CUDA lib64 path could not be located in /usr/lib64
则在 setup.py 文件中将 lib64 更改为 lib,再进行make