解决pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

[Link] delete reference infringement

https://www.jianshu.com/p/3378fa827924

https://yq.aliyun.com/articles/619208

 

Problem Description: In Windows- and pycharm in the command line, all of the following time-out error message when installing with pip pillow command:

pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

After the above two reference input command to change the articles according to their solutions:

The original command in the command window, enter:

pip  install Pillow==4.0.0

Replaced by the following entries:

pip  --default-timeout=100 install Pillow==4.0.0

The default time there is can define yourself. This is not very happy to see that the problem soon solved, however, is not! ! !

After adjusting the default time-out is still the same will complain, personal guess this site is not required FQ to go smoothly access, read a lot of people's solutions, some chiefs will install the package to climb down into the domestic site's server, but the web site banned, mmp

 

That change in thinking, the living can be suffocated in urine? ? Direct search Pillow installation package, in fact, this is not easy to find, after all, something tutorials or is another copy, Shui, or many links are pointing to that address can not go, Ado NB the CSDN hung up a free the library at the following link:

https://download.csdn.net/download/weixin_42078760/10443801?utm_source=bbsseo [Pillow 5.1.1 (PIL library for introducing Python, 64)]

 

My computer is just win10 + 64 bit download, use Windows command window into the file directory, enter the command:

 pip install Pillow-5.1.1-cp37-cp37m-win_amd64.whl

 

The perfect solution! ! ! Twelve hours so no, that get in URLs are still slowly turn around. . . . Full of angry mood to write down Bowen, want to give you a little bit in need of help.

 

Guess you like

Origin www.cnblogs.com/ljxh/p/11094363.html