问题:
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