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.
你的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 isdkz 发表于 2022-2-16 09:52
你的conda源错了,https://mirrors.aliyun.com/pypi/simple是pip的源,
在cmd下输入以下命令添加正确的源 ...
感谢大佬解决
页:
[1]