(python pip安装第三方库超时问题(raise ReadTimeoutErrorself._pool, None, 'Read timed out.')
2018-11-05 17:45
736 查看
版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/qq_40925385/article/details/83753598
(python pip安装第三方库超时问题(raise ReadTimeoutErrorself._pool, None, ‘Read timed out.’)
pip工具安装
百度经验链接: pip安装及环境变量配置.
pip下载超时处理
aise ReadTimeoutError(self._pool, None, ‘Read timed out.’)
方案一:对于比较小的库,可以延时处理
-------- pip --default-timeout=100 install -U pip
-------- pip --default-timeout=100 install 第三方库名
方案二:更换安装源
------------网上可以查找很多豆瓣源
如https://pypi.tuna.tsinghua.edu.cn/simple/
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyecharts
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple 库名
出错使用这种 :pip install --index-url https://pypi.tuna.tsinghua.edu.cn/simple/ lightgbm
方案三:下载离线包
python所有库:(https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml)
---------然后通过pip install 保存路径/加上下载的文件名 进行安装
(如pip install C:\Users\HP\Desktop\scikit_image-0.14.1-cp37-cp37m-win32.whl)
相关文章推荐
- pip install时发生raise ReadTimeoutError(self._pool, None, 'Read timed out.')的解决方案
- pip install时发生raise ReadTimeoutError(self._pool, None, 'Read timed out.')的解决方案
- pip安装scrapy报错 ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org, port=443) Read time out
- 利用pip安装python包遇到socket.timeout:The read operation timed out问题的解决方法
- python pip安装,出现超时 --Read timed out.
- python 安装第三方库,超时报错--Read timed out.
- python 安装第三方库,超时报错--Read timed out.
- pip安装python库总提示下载超时read timed out的解决办法
- ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out.
- Python安装第三方库,报错超时: Read timed out.
- ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out.
- python 安装第三方库,超时报错--Read timed out.
- python 安装第三方库,超时报错--Read timed out.
- pip install Error - ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read
- pip install Error - ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read
- pip install Error - ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read
- pyenv pip安装第三方库 Traceback (most recent call last): socket.timeout: The read operation timed out
- Python安装pywinauto时遇到error: The read operation timed out解决方法
- pip install Error - ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read
- 安装Tensorflow超时报错:socket.timeout: The read operation timed out