解决ReadTimeoutError: HTTPSConnectionPool(host=‘files.pythonhosted.org‘, port=443): 更改pip源

**报错**

    raise ReadTimeoutError(self._pool, None, 'Read timed out.')
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
time out 明显是网络方面的连接问题。

改下国内源

pip install -i https://pypi.douban.com/simple
pip install -i http://pypi.hustunique.com/simple 
pip install -i http://pypi.sdutlinux.org/simple 
pip install -i http://pypi.mirrors.ustc.edu.cn/simple 

建议不要用清华那个源,经常断掉。 

你可能感兴趣的:(网络,python,pip,bug)