Windows7环境下修改Python pip的更新源

  •  在user目录中创建pip目录,如:C:/Users/xx/pip,然后新建文件pip.ini,内容如下:
  • [global]timeout = 6000

    index-url = http://mirrors.aliyun.com/pypi/simple

    trusted-host = mirrors.aliyun.com

猜你喜欢

转载自blog.csdn.net/weixin_42566776/article/details/81052655