遇到問題:
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腳本下再進行安裝