/bin/sh:1::/usr/local/cuda-11.0/bin/bin/nvcc:未找到

/bin/sh:1::/usr/local/cuda-11.0/bin/bin/nvcc:未找到

当我使用时,我得到的是nvidia-smi版本,但我检查了路径并发现cuda11.0/usr/local/cuda11.1

我安装 mmcv 包时出现错误

/bin/sh: 1: :/usr/local/cuda-11.0/bin/bin/nvcc: not found 

我的 .bashrc 是

export PATH=/usr/local/cuda-11.1/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-11.1/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

相关内容