Limited to some well-known reasons, we have a similar error when we pip install software:
data = Self.read (Amt=amt, decode_content=decode_content) "C:\Python27\lib\site-packages \pip\_vendor\requests\packages\urllib3\response.py", line 227, in read Read timed out. ' ) Readtimeouterror:httpsconnectionpool (Host='pypi.python.org' ) , port=443): readtimed out.
Yes, this is the performance of the network is not smooth, in this case, the replacement of a relatively smooth software source is a very necessary choice.
It is recommended that the Watercress software source https://pypi.douban.com/simple
Permanent effect
Modify the pip.conf, each system storage location is not the same, Linux please use find self-search
After modification, use PIP to install the software properly.
[global]index-url = https://pypi.douban.com/simple
Temporary entry into force
Suitable only for temporary use or testing occasions, only this time will go to the designated address to obtain the software
Install pythonmodulename-i https://pypi.douban.com/simple
For more information please visit here
Https://pypi.douban.com/simple
Replace the python default software image source