使用conda安裝命令時一直出現問題,因為從2019年4月添加的國內鏡像都不能用了


安裝過程中出現以下問題:(歷盡千辛萬苦,終於才查到原來是清華源,騰訊源都不能用了)
The remote server could not find the noarch directory for the requested channel with url: file:///C:/Miniconda36-x64/conda-bld As of conda 4.3, a valid channel must contain a `noarch/repodata.json` and associated `noarch/repodata.json.bz2` file, even if `noarch/repodata.json` is empty. please request that the channel administrator create `noarch/repodata.json` and associated `noarch/repodata.json.bz2` files. $ mkdir noarch $ echo '{}' > noarch/repodata.json $ bzip2 -k noarch/repodata.json You will need to adjust your conda configuration to proceed.

看新聞鏈接:https://www.linuxidc.com/Linux/2019-04/158330.htm

解決方法:
vim ~/.condarc    #查看配置文件

把之前添加的源都刪掉,使用默認的就可以

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM