Deformable-Convolution-V2-PyTorch icon indicating copy to clipboard operation
Deformable-Convolution-V2-PyTorch copied to clipboard

When running make.sh, it prompts that NVCC cannot be found

Open zj916716524 opened this issue 2 years ago • 1 comments

Hello. I encountered a problem when establishing the DCN-V2 environment. After running this command in sh make.sh, it reported this error /bin/sh: 1: :/usr/local/cuda/bin/nvcc: not found, but I found this file on this path of my computer, and added (export PATH=$PATH:/usr/local/cuda/bin) to bashrc through $ sudo vi ~/.bashrc this command, andsource ~/bashrc restarted the service, but still reported the above error

zj916716524 avatar Mar 03 '22 02:03 zj916716524

Check whether the cuda home path is correct by echo $CUDA_HOME. It should be /usr/local/cuda if you can find /usr/local/cuda/bin/nvcc If not, change it by export CUDA_HOME=/usr/local/cuda

wqyin avatar Apr 21 '22 14:04 wqyin