在windows下生成一个pip.ini放在user/nenew文件夹下,pip.ini的内容是
[global] index-url = https://mirrors.aliyun.com/pypi/simple [install] use-mirrors =true mirrors =https://mirrors.aliyun.com/pypi/simple/ trusted-host =mirrors.aliyun.com