'/usr/local/cuda/bin/bin/nvcc': '/usr/local/cuda/bin/bin/nvcc'
时间: 2023-09-14 11:12:50 浏览: 244
'/usr/local/cuda/bin/bin/nvcc' 是一个路径错误。根据提供的引用内容,这个错误应该是由于在环境变量CUDA_HOME中多了一个冒号导致的。为了解决这个问题,你可以执行以下命令将~/.bashrc中的export CUDA_HOME=$CUDA_HOME:/usr/local/cuda改成export CUDA_HOME=/usr/local/cuda。这样就能够正确设置CUDA_HOME的路径,并解决这个bug。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [执行detectron2编译报错No such file or directory: ‘/usr/local/cuda/bin/bin/nvcc](https://blog.csdn.net/weixin_41653613/article/details/126891202)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [tensorflow-1.12支持cuda10.0](https://download.csdn.net/download/giselite/10910117)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [Ubuntu:No such file or directory: ‘:/usr/local/cuda/bin/nvcc‘: ‘:/usr/local/cuda/bin/nvcc‘ 解决...](https://blog.csdn.net/dream6985/article/details/131290227)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文