No such file or directory: '/usr/local/cudasudo/bin/nvcc
时间: 2023-08-04 08:03:42 浏览: 209
mac下/usr/local/bin No such file or directory问题解决
根据提供的引用内容,出现错误"No such file or directory: '/usr/local/cudasudo/bin/nvcc'"可能是由于CUDA路径设置不正确导致的。根据引用\[3\]中的建议,您可以执行以下命令来解决这个问题:
```bash
export CUDA_HOME=/usr/local/cuda
```
这将把CUDA路径设置为"/usr/local/cuda",并且应该解决路径错误的问题。请确保在执行此命令之前,您已经安装了正确版本的CUDA,并且路径与您的安装位置相匹配。
#### 引用[.reference_title]
- *1* [No such file or directory: ‘:/usr/local/cuda-10.1:/usr/local/cuda-10.1/bin/nvcc‘:](https://blog.csdn.net/tailonh/article/details/120322932)[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^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [No such file or directory: ‘:/usr/local/cuda-11.7:/usr/local/cuda-11.7/bin/nvcc](https://blog.csdn.net/qq_44783689/article/details/129904044)[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^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *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^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文