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