pip 安装模块报错

Posted sunshine171

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了pip 安装模块报错相关的知识,希望对你有一定的参考价值。

HTTPConnectionPool(host=‘223.241.0.100‘, port=31968): 
Max retries exceeded with url: http://fanyi.youdao.com/translate_o?smartresult=dict&smartresult=rule 
(Caused by ProxyError(‘Cannot connect to proxy.‘, NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x000001FBEDCFF358>: 
Failed to establish a new connection: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。‘)))

  解决:关掉本机的代理ip

其他博主方法:

1. 更换临时源 (豆瓣源):

如:

pip install scrapy -i https://pypi.douban.com/simple

  

以上是关于pip 安装模块报错的主要内容,如果未能解决你的问题,请参考以下文章

pycharm-pip安装scrapypywifi等模块报错解决方法

Python3.6.2安装pip install paramike模块报错

python 的pip install 安装包报错。

pip 查看已安装模块卸载指定模块安装指定版本模块

关于cmd安装pip3模块失败的 Read timed out.的补救方法

Windows系统下Python使用pip安装第三方包报错SSL模块不可用