任何人都可以帮我这个吗?当我尝试安装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
非常感谢。谢谢!
答案 0 :(得分:0)
这不是PyAutoGUI的问题,而是当它无法正常连接到互联网时,这就是pip的行为。检查您的网络,防火墙,代理等。
答案 1 :(得分:0)
从这里PyPI.PyAutoGUI下载软件包。浏览到已下载文件的文件夹,然后在该文件夹中打开命令提示符。
键入命令:pip install "PyAutoGUI-0.9.50.tar.gz"
(检查文件名,以防该软件包的将来版本更改。)