pip安装报错——Read timed out
报错信息
Exception:Traceback (most recent call last):
……
raise ReadTimeoutError(self._pool, None, ‘Read timed out.’)
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host=‘files.pythonhosted.org’, port=443): Read timed out.
解决方法
设置超时时间
pip --default-timeout=100 install -U jieba
参考文档:https://www.cnblogs.com/xiaoduc-org/p/5958973.html