[Turn] Solve the problem that pip install is too slow

Change the source of pip to domestic.

1. New directory and file ~ / .pip / pip.conf

2. The content is:

[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple

[install]
trusted-host=mirrors.aliyun.com

Guess you like

Origin www.cnblogs.com/HYanqing/p/12721431.html