pip error

pip when installing pyspark

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

Here Insert Picture Description
Cause Analysis

Download python library, because of domestic reasons network, python package download speed is very slow, view the document pip, pip time as long as you can control the timeout, specific parameters for the --default-timeout = 100, you can own a later time specified.

Solution

pip --default-timeout=100 install pyspark -i https://pypi.doubanio.com/simple

Published 22 original articles · won praise 0 · Views 262

Guess you like

Origin blog.csdn.net/qq_38319401/article/details/104017285