无法安装PyAutoGUI接收

2024-06-24 11:57:09 发布

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

有人能帮我吗?尝试安装PyAutoGUI时,遇到以下错误:

C:\Python 34>pip.exe install pyautogui
Collecting pyautogui
  Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03BB69B0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pyautogui/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03BB6B70>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pyautogui/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03BB6C30>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pyautogui/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03BB6CF0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pyautogui/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03BB6DB0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pyautogui/
  Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03BB6E50>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pyautogui/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03BD3130>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pyautogui/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03BD31F0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pyautogui/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03BD32B0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pyautogui/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03BD3370>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pyautogui/
  Could not find a version that satisfies the requirement pyautogui (from versions: )
No matching distribution found for pyautogui

非常感谢。谢谢您!在


Tags: pipnonereadbyconnectconnectionredirecttotal
1条回答
网友
1楼 · 发布于 2024-06-24 11:57:09

这不是PyAutoGUI的问题,而是pip无法正确连接到internet时的行为。检查您的网络、防火墙、代理等。在

相关问题 更多 >