Tunnel connection failed: 407 Proxy Authentication Required

报错信息 :

Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required ( Forefront TMG requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )',))': /simple/jupyter/

  • 根据报错信息 Cannot connect to proxy判断应该是代理的错误,结合由于使用公司的电脑,所以配置一下代理的环境
set http_proxy=http://username:password@proxyservice:port

tips:对于密码中的特殊字符需要转义,比如@ 变为%40

eg set http_proxy=https://username:pass%40word@hhhhh.com:1080

感兴趣可关注公众号,不定期推送乱七八糟得文章:

posted @ 2018-11-05 09:21  今夕何夕兮  阅读(7426)  评论(0编辑  收藏  举报