Recommended PIP Installation
Pip Install Appium-python-client
Of course, you can also download the source code installed on the PIPY
TAR-XVF appium-python-client-x.x.tar.gz (7zip can decompress on Windows) CD appium-python-client-x.x Python setup.py Install
Finally, it can also be installed via GitHub (to git client)
git clone [email protected]:appium/python-client.git cd python-client python setup.py install
Where I encountered a problem with the installation: Pip install appium-python-client times wrong unicodedecodeerror, the reason is related to the registry, It may be that some software's GBK format for the registry has caused Python to fail the installation of third-party libraries.
Workaround: Open the Python installation directory under Lib's mimetypes.py file to find
default_encoding = Sys.getdefaultencoding () Before this line is added
If sys.getdefaultencoding ()! = ' GBK ':
Reload (SYS)
Sys.setdefaultencoding (' GBK ')
Appium Client Installation (Python)