windows下,直接在user目录中创建一个pip目录,如:C:\Users\xx\pip,新建文件pip.ini,内容如下

    1. [global]
    2. index-url = https://pypi.tuna.tsinghua.edu.cn/simple
    3. [install]
    4. trusted-host=pypi.tuna.tsinghua.edu.cn
    5. disable-pip-version-check = true
    6. timeout = 6000