Mirroring:
pip install virtualenv -i https://pypi.douban.com/simple
Domestic Source:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple module_name
or
pip install -i https://pypi.douban.com/simple module_name
The mirror source to accelerate domestic
pip install the package name -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com This is to obtain certification ssl certificates, or else will complain
Extension of time (to solve the problem of readout)
pip --default-timeout = 1000 install -U module name
Domestic sources plus extension of time (to avoid readout as well as foreign source net slow)
pip --default-timeout=1000 install -i https://pypi.tuna.tsinghua.edu.cn/simple module_name
To extend domestic source + time + network acceleration
pip --default-timeout=1000 install -i https://pypi.tuna.tsinghua.edu.cn/simple module_name --trusted-host pypi.douban.com