First, install the Python library
There are many ways to install the Python library, such as PIP installation, source file installation, and run package installation, but the most common use is to install with PIP
Appium+python do the automated testing of the mobile end, you need to install the following Python library, open the cmd command:
InstallationAppium-Python-Client
Pip Install Appium-python-client
Installationschematics
Pip Install schematics
Installationrequests
PIP Install requests
Installationpymysql
Pip Install Pymysql
Installing Selenium
Pip Install Selenium
The above Python library installation, after installation exists in the Python installation directory, and Pycharm IDE development tools do not step together;
Second, installation Pycharm
1, to pycharm official website Download Pycharm installation package
2. Select the community version of the Windows system to download
3, double-click the installation package to install, Next, know that the installation is complete
4. Open the Pycharm development tool and create the project (self-referencing), because Pycharm does not synchronize the Python-installed third-party libraries, so you need to install the required libraries in Pycharm
File--setting--project interpreter, select the Python path to install and add the Python libraries above to install them separately
Appium+python Mobile Automation Test-python Library and Pycharm installation (ii)