Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zj916716524 opened this issue Mar 3, 2022 · 1 comment
Open

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

zj916716524 opened this issue Mar 3, 2022 · 1 comment

Comments

@zj916716524
Copy link

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

@wqyin
Copy link

wqyin commented Apr 21, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants