[Python error resolution] ---- pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool

1. Error code

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

2. Error picture

Enter a picture description
Enter a picture description

3. Error analysis

The high probability is a network problem, the network speed provided by pip is not enough to support the backgroundremover installation.

4. Solutions

pip --default-timeout=1688 install backgroundremover -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com 

5. Solve the result

Enter a picture description
Enter a picture description

Guess you like

Origin blog.csdn.net/m0_38082783/article/details/132319591