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

error: command 'D:\\software\\CUDA9_and_10\\Program Files\\NVIDIA GPU Computing Toolkit\\v9.0\\bin\\nvcc.exe' failed with exit status 1 #270

Closed
fubai3 opened this issue Apr 6, 2022 · 4 comments

Comments

@fubai3
Copy link

fubai3 commented Apr 6, 2022

您好 我遇到了这个问题 是什么情况导致的呢 谢谢error: command 'D:\software\CUDA9_and_10\Program Files\NVIDIA GPU Computing Toolkit\v9.0\bin\nvcc.exe' failed with exit status 1

@fubai3
Copy link
Author

fubai3 commented Apr 7, 2022

error: command 'D:\software\CUDA9_and_10\Program Files\NVIDIA GPU Computing Toolkit\v9.0\bin\nvcc.exe' failed with exit status 1
nvcc fatal : Option '--cl-version' needs to be specified with option '--use-local'
显示了这个 怎么指定use-local呢 谢谢

@devil1213
Copy link

你好 我在运行安装环境步骤中的python setup.py develop时也出现了error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3\bin\nvcc.exe' failed with exit status 1这个错误 我的环境是cuda 11.3 torch1.10.1 python 3.8按照 配置文件进行配置但是有错误 请问你解决了吗

@hukaixuan19970627
Copy link
Owner

hukaixuan19970627 commented Apr 8, 2022

windows执行

python setup.py develop 

时报这个错误的话参考 #224

@joish-li
Copy link

你好 我在运行安装环境步骤中的python setup.py develop时也出现了error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3\bin\nvcc.exe' failed with exit status 1这个错误 我的环境是cuda 11.3 torch1.10.1 python 3.8按照 配置文件进行配置但是有错误 请问你解决了吗

俺的是Visual Studio 的版本不对,2017,2019都可以,我是2022,改了就好了

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

4 participants