python安装uiautomator模块时报错 ERROR: Could not find a version that satisfies the requirement lxml>=4.3 (from uiautomator2) (from versions: none)
ERROR: No matching distribution found for lxml>=4.3
python安装包出如上错
找了很久原因,大概是pip跟python的安装位置不一样
解决方法:选择pip源并且新人它,输入以下命令即可(uiautomator2可换成需要安装的包,我这里是uiautomator2)
pip install uiautomator2 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com