windows 安裝pip 安裝時一直超時或者提示python 版本過低

遇到問題:

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腳本下再進行安裝

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章