pip install solve the problem of time-out occurs
When we installed python libraries with the default pip source, there will be a timeout problem can not be downloaded, as shown in the following chart shows:
So how do we solve it?
method:
New \ Users under \ yanjiangdi001 path pip folder, as shown below :( can also be downloaded directly, Baidu cloud link:: In their computers C https://pan.baidu.com/s/1whZ-yemc9bjVosbhO1gfVQ Password: fd83 after downloading and put into a directory corresponding to, used directly for subsequent steps follow)
Then create a new folder pip.ini file, write the following in a file :( means that the mirror into a domestic source of Ali cloud provider, so the speed will be much faster, after also comes with some other image source)
[global] index-url = http://mirrors.aliyun.com/pypi/simple/ [install] trusted-host=mirrors.aliyun.com
As shown below:
Set up later be installed in the directory directly pip command python library you want with the (can be made very quickly successful installation). As follows:
Other incidental mirror source :( Ali cloud actually recommended, because it is very fast. Other than this does not seem incidental faster)
Ali cloud http://mirrors.aliyun.com/pypi/simple/ (here I am using a cloud Ali, feeling particularly useful)
China University of Science and Technology https://pypi.mirrors.ustc.edu.cn/simple /
watercress (douban) http://pypi.douban.com/simple/
Tsinghua https://pypi.tuna.tsinghua.edu.cn/simple/
University of Science and technology of China http://pypi.mirrors.ustc.edu .cn / simple /