Fork me on GitHub

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

  

posted @ 2020-04-20 13:11  黄豆儿  阅读(197)  评论(0编辑  收藏  举报