我是靠谱客的博主 高挑网络,最近开发中收集的这篇文章主要介绍pip install 报连接问题安装失败的解决方法,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

问题:

pip3 install jupyter
Collecting jupyter
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000000055F4F88>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')': /simple/jupyter/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000000005604A48>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/jupyter/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000000056045C8>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/jupyter/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000000005604C08>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/jupyter/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000000055E4088>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')': /simple/jupyter/
  Could not find a version that satisfies the requirement jupyter (from versions: )
No matching distribution found for jupyter

解决方法:

pip3 install jupyter -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

最后

以上就是高挑网络为你收集整理的pip install 报连接问题安装失败的解决方法的全部内容,希望文章能够帮你解决pip install 报连接问题安装失败的解决方法所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(324)

评论列表共有 0 条评论

立即
投稿
返回
顶部