叶夜还 发表于 2022-2-15 20:19:58

anaconda创建新环境老是报错,各位大佬看看这是咋回事

报错信息:

UnavailableInvalidChannel: The channel is not accessible or is invalid.
channel name: pypi/simple
channel url: https://mirrors.aliyun.com/pypi/simple
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.

isdkz 发表于 2022-2-16 09:52:48

你的conda源错了,https://mirrors.aliyun.com/pypi/simple是pip的源,
在cmd下输入以下命令添加正确的源,并把错误的源删掉

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
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/cloud/bioconda/
conda config --remove channels https://mirrors.aliyun.com/pypi/simple

叶夜还 发表于 2022-2-16 16:07:49

isdkz 发表于 2022-2-16 09:52
你的conda源错了,https://mirrors.aliyun.com/pypi/simple是pip的源,
在cmd下输入以下命令添加正确的源 ...

感谢大佬解决
页: [1]
查看完整版本: anaconda创建新环境老是报错,各位大佬看看这是咋回事