新配置的python环境,pip安装包超时

这里给出最简单配置国内镜像的方法
这里将服务器地址切换为国内清华镜像,具体执行的命令如下:
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

执行完,看到上面提示,说明已经切换了,接下来我们再下载包,速度就飞快了

新配置的python环境,pip安装包超时
这里给出最简单配置国内镜像的方法
这里将服务器地址切换为国内清华镜像,具体执行的命令如下:
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
执行完,看到上面提示,说明已经切换了,接下来我们再下载包,速度就飞快了