问题
im trying to test an app using uiautomator module of python. but im getting the same error . Im using python3. does it work only with python 2.7 or what ?? i'm unable to resolve the issue.. when i open python interpreter and run the commands:
- from uiautomator import device as d
- d.info()
the process gets struck and doesn't do anything..
but when i run the script, it gives out this Error message: "from uiautomator import Device" and "ImportError: cannot import name 'Device'"
please help..
来源:https://stackoverflow.com/questions/54421590/importerror-cannot-import-name-device-when-using-uiautomator-python-3