问题现象:使用python2.7安装Appium-Python-Client 出现以下问题:
Traceback (most recent call last):
File "D:/software-tools/Appium-Python-Client-1.0.2/setup.py", line 19, in <module>
from appium.common.helper import library_version
File "D:\software-tools\Appium-Python-Client-1.0.2\appium\common\helper.py", line 20
def extract_const_attributes(cls: type) -> Dict[str, Any]:
^
SyntaxError: invalid syntax
解决方法:安装python3,使用python setup.py install 命令安装成功
官方介绍的三种安装方式:
There are three ways to install and use the Appium Python client.
1. Install from [PyPi](https://pypi.org), as
['Appium-Python-Client'](https://pypi.org/project/Appium-Python-Client/).
```shell
pip install Appium-Python-Client
```
You can see the history from [here](https://pypi.org/project/Appium-Python-Client/#history)
2. Inst