Appium Client Installation (Python)

Source: Internet
Author: User
Tags git client appium

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.