pip when installing pyspark
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host=‘files.pythonhosted.org’, port=443): Read timed out.
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