創(chuàng)新互聯(lián)www.cdcxhl.cn八線動(dòng)態(tài)BGP香港云服務(wù)器提供商,新人活動(dòng)買(mǎi)多久送多久,劃算不套路!
小編給大家分享一下anaconda使用conda報(bào)錯(cuò)CondaHTTPError怎么辦,希望大家閱讀完這篇文章后大所收獲,下面讓我們一起去探討吧!
這個(gè)問(wèn)題的原因是你在用conda命令的時(shí)候是調(diào)用了國(guó)外conda網(wǎng)站來(lái)給你安裝某些功能包,但是你在國(guó)內(nèi)用可能會(huì)出錯(cuò)
解決:
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/##配置清華源 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --set show_channel_urls yes###使能
或者搜索你的.condarc文件
刪除-default一行,保證你的文件內(nèi)容如下:
channels: - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/ - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/ - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ show_channel_urls: true
看完了這篇文章,相信你對(duì)anaconda使用conda報(bào)錯(cuò)CondaHTTPError怎么辦有了一定的了解,想了解更多相關(guān)知識(shí),歡迎關(guān)注創(chuàng)新互聯(lián)-成都網(wǎng)站建設(shè)公司行業(yè)資訊頻道,感謝各位的閱讀!