完整報(bào)錯(cuò):FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/cuda-10.2:/bin/nvcc'
親測(cè)有效!?。。?!
解決方法:
git clone https://github.com/NVIDIA/apex
cd apex
pip install -v --no-cache-dir ./
export CUDA_HOME=/usr/local/cuda-10.2
#這里的10.2改成你自己報(bào)錯(cuò)的版本
#然后再運(yùn)行一次
pip install -v --no-cache-dir ./
?安裝成功!文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-639223.html
參考:FileNotFoundError: [Errno 2] No such file or directory: ':/usr/local/cuda:/usr/local/cuda-10.1/bin/nvcc': ':/usr/local/cuda:/usr/local/cuda-10.1/bin/nvcc' · Issue #368 · NVIDIA/apex · GitHub文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-639223.html
到了這里,關(guān)于FileNotFoundError: [Errno 2] No such file or directory: ‘/usr/local/cuda-10.2:/bin/nvcc‘的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!