Solution Python installed numpy, pandas slow, time-out error, can not download

Since the default source python is abroad, so the download time will be very slow, and even download a timeout failure occurs, provide two solutions

1. Set the timeout limit pip

Open cmd

 

 Input pip --default-timeout = 100 install -U [here] is downloaded to the package name (in pandas example)

 

If the speed is very slow

Direct source exchange download

1. pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -U funcat 

This means that the command specified in https://pypi.tuna.tsinghua.edu.cn/simple download funcat website package

Explain the above and -i -U

-U: install the upgrade

-i: Specifies the source

 

 

This may refer to the article published by several bloggers,

About Source: https://www.cnblogs.com/ywf520/p/11600929.html

Timeout solve: https://www.cnblogs.com/xiaoduc-org/p/5958973.html

 

Guess you like

Origin www.cnblogs.com/Timeouting-Study/p/11666838.html