赞
踩
- Collecting package metadata (current_repodata.json): failed
-
- UnavailableInvalidChannel: The channel is not accessible or is invalid.
- channel name: https//mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
- channel url: https://conda.anaconda.org/https//mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
- error code: 404
-
- 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 --show channels
命令看一下都有什么镜像,
conda config --show channels
输出为:
- channels:
- - https//mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
- - http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
- - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- - defaults
然后使用conda config --remove-key channels
命令恢复默认配置,这时就只剩下
最后在进行conda create配置环境就可以啦,如果想要新的镜像,自己再添加想要的镜像就可以了
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。