- 原因:之前mac环境已经搭建了appium1.7.2环境,但是中途为了优化代码,导致卸载appium,但是后面再装的时候就不能以用户权限运行appium了,报以下错误,百度良久,怀疑是权限运行机制问题,又用sudo权限运行,果然此错误得到改正
selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Invalid Version: renderscript
- 用了几天,发现还是很不方便,每次都要sudo启动很是麻烦,于是起了改进的心思,卸载重装,无果,卸载node再卸载appium,重装,还是无果,最后重新装了个版本1.7.0,已普通用户启动运行,成功
- 总结:不知道是不是npm卸载文件不干净导致的,换版本能解决此问题
- 待续