Press the green button in the gutter to run the script.
if name == 'main':
Enable debug will see http Request and Response
# wda.DEBUG = True
c = wda.Client('http://localhost:8100')
# get env from $DEVICE_URL if no arguments pass to wda.Client
# http://localhost:8100 is the default value if $DEVICE_URL is empty
c.home()
`
但是报错:
Traceback (most recent call last): File "/Users/mac/PycharmProjects/chartDemo/main.py", line 8, in <module> import wda File "/Users/mac/Documents/pycharm/chartDemo/lib/python3.8/site-packages/wda/__init__.py", line 16, in <module> import requests ModuleNotFoundError: No module named 'requests'
代码如下: `import wda
Press the green button in the gutter to run the script.
if name == 'main':
Enable debug will see http Request and Response
` 但是报错:
Traceback (most recent call last): File "/Users/mac/PycharmProjects/chartDemo/main.py", line 8, in <module> import wda File "/Users/mac/Documents/pycharm/chartDemo/lib/python3.8/site-packages/wda/__init__.py", line 16, in <module> import requests ModuleNotFoundError: No module named 'requests'