遇到问题:
python3.6安装uiautomator2一直报错,安装不上,但是mac就可以安装完成
案例:
pip3 install --pre uiautormator2
报错:
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', timeout('timed out',))': /simple/u
iautormator2/
ERROR: Could not find a version that satisfies the requirement uiautormator2 (from versions: none)
ERROR: No matching distribution found for uiautormator2
WARNING: You are using pip version 20.0.2; however, version 20.1.1 is available.
You should consider upgrading via the 'd:\program files\python\python361\python3.exe -m pip install --upgrade pip' command.
解决办法:
切换到python目录的script脚本下再进行安装