Anconda安装虚拟环境时报错

(base) C:\>conda create --name py36 python=3.6
Collecting package metadata (current_repodata.json): failed

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

然后运行这句指令就行,把原有的channel全部删除。

conda config --remove-key channels 

再次运行就ok。

你可能感兴趣的:(Python,python,conda)