python2.7pip或easy安装将不起作用,并且总是超时,请尝试所有堆栈溢出答案

2024-04-23 06:57:16 发布

您现在位置:Python中文网/ 问答频道 /正文

视窗7

pip和easy\u安装总是超时,我不想使用手动zip下载或.whl文件,因为它会弄乱版本。你知道吗

这就是我得到的

Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0364BD10>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/requests/

我要知道为什么会超时,就像平一样谷歌网站工作,我可以从浏览器访问PYPI网站,它总是返回成功,当我从命令ping它。你知道吗

已经尝试了所有堆栈溢出的答案,但没有一个有效。 我的机器上没有任何代理。你知道吗

pip install requests
pip install cx_Oracle

预期安装应成功 但实际时间已超时


Tags: installpip文件版本none网站connecteasy