当前位置:   article > 正文

记录一下初次使用linux服务器的问题解决

记录一下初次使用linux服务器的问题解决

Collecting package metadata (current_repodata.json): done Solving environment: done UnavailableInvalidChannel: HTTP 404 NOT FOUND for channel simple <https://pypi.doubanio.com/simple> The channel is not accessible or is invalid. You will need to adjust your conda configuration to proceed. Use `conda config --show channels` to view your configuration's current state, and use `conda config --show-sources` to view config file locations.

 还有一个就是:总之就是好像和源有关,就是删除了所有源重新装一下就好

conda config --set channel_priority strict#恢复默认的源

添加新的源

  1. conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
  2. conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
  3. conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
  4. conda config --set show_channel_urls yes

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/菜鸟追梦旅行/article/detail/531799
推荐阅读
相关标签
  

闽ICP备14008679号