解决方法:在anaconda prompt里面输入
或者
解决方式是在c盘中搜索打开你的.condarc,默认是隐藏文件,需要先在显示中设置隐藏项目可见,文件打开如下:
.condarc
上图是我修改好的文件,更改了配置文件中的源地址,删除掉了--default命令。
直接在命令行中输入以下命令也可以达到同样的作用:
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
同时安装pyside2失败 也是因为网络不稳定
使用如下文件
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyside2