我有这个模块:
import time
import os
import argparse
from pywinauto.application import Application
我无法使用pip,因为我的代理中有很多限制,我无法安装pip。当我使用pip时,它会给我以下错误:
我尝试解压缩pywinauto模块zip并将其解压缩到我安装的文件夹中。并在命令行中运行:python setup.py install
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required ( Forefront TMG requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )',))': /simple/pywinauto/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required ( Forefront TMG requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )',))': /simple/pywinauto/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required ( Forefront TMG requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )',))': /simple/pywinauto/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required ( Forefront TMG requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )',))': /simple/pywinauto/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required ( Forefront TMG requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )',))': /simple/pywinauto/
Could not find a version that satisfies the requirement pywinauto (from versions: )
No matching distribution found for pywinauto
然而,当运行mu脚本时,我得到了这个:
File "C:\PROD\Open.py", line 4, in <module>
from pywinauto.application import Application
builtins.ModuleNotFoundError: No module named 'pywinauto'
如何下载此模块以运行我的Python脚本?
由于