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

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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM