(Python pip install third-party libraries timeout issues (raise ReadTimeoutErrorself._pool, None, 'Read timed out.')

(python pip install third-party libraries timeout issues (The raise ReadTimeoutErrorself._pool, None, 'the Read the Timed OUT.')
PIP tool to install
Baidu experience link: PIP installation and configuration environment variable.

pip download time-out processing
aise ReadTimeoutError (self._pool, None, ' Read timed out.')

A program: for small libraries, the processing can be delayed
-------- --default-timeout PIP = PIP 100 the install -U
-------- PIP --default the install-timeout = 100 third-party library name
Option two: replace the installation source
------------ internet can find a lot of watercress sources
such as https://pypi.tuna.tsinghua.edu.cn/simple/
PIP -i install HTTPS : //pypi.tuna.tsinghua.edu.cn/simple pyecharts
PIP install -i https://pypi.tuna.tsinghua.edu.cn/simple library name
wrong use of this: pip install --index-url https: //pypi.tuna.tsinghua.edu.cn/simple/ lightgbm

Scheme Three: the offline download package
python all libraries: (https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml)
--------- then through the saving path pip install / download plus the installation file name
(such as pip install C: \ Users \ HP \ Desktop \ scikit_image-0.14.1-cp37-cp37m-win32.whl)

 

 


Original link: https: //blog.csdn.net/qq_40925385/article/details/83753598

Guess you like

Origin www.cnblogs.com/zmdComeOn/p/12010111.html