Appium 使用uiautomator2调用install_app()方法时出现提示错误

Appium 使用uiautomator2调用install_app()方法时出现提示错误,appium,android-uiautomator,python-appium,Appium,Android Uiautomator,Python Appium,初始化appium设置成功时遇到错误,然后调用install_app()方法重新安装新应用。错误如下:WebDriverException:消息:处理命令时发生未知服务器端错误。原始错误:无法代理。代理错误:无法将命令代理到远程服务器。原始错误:404-未定义文件“run.py”,第54行,在测试驱动程序中。在insta ll_应用程序self.execute(Command.install_app,data)文件“C:\Python27\lib\site packages\selenium\w

初始化appium设置成功时遇到错误,然后调用install_app()方法重新安装新应用。

错误如下:WebDriverException:消息:处理命令时发生未知服务器端错误。原始错误:无法代理。代理错误:无法将命令代理到远程服务器。原始错误:404-未定义文件“run.py”,第54行,在测试驱动程序中。在insta ll_应用程序self.execute(Command.install_app,data)文件“C:\Python27\lib\site packages\selenium\webdriver\remote\webdriver.py”中,第511行,安装(Command.install_app,data)文件“C:\Python27\lib\site packages\selenium\webdriver\remote\webdriver.py”,第233行,在execute self.error\u handler.check\u response(response)文件“build\bdist.win32\egg\appium\webdriver\errorhandler.py”的第29行,che ck\u response raise wdeoccur脚本是:driver.install\u app(apk的路径),调用方法“os.popen('adb install path of apk')”,而不是找到解决方案了吗?