Support Center

Appium with Python Prerequisites

Last Updated: Aug 24, 2015 02:35PM CEST

Setting up your machine

Testdroid Appium sample TestScripts are available in Python, Java, C# and Ruby. Appium tests are executed remotely from user's own machine, and the tests are executed on Testdroid Cloud in real time. Below is explained how to run your Python scripts locally from your machine.


Install Python

Ensure you have Python 2.7.x or later is installed (should be pre-installed on OS X)​.

$ python --version​


You can Install Python on Linux as follows

$ sudo apt-get install python2.7


To install Python on Windows, download and run setup from download centre

To add Python environment variables, go to System properties > Advanced System Settings > Environment Variables > System Variables > Edit 'Path', and insert C:\Python27\;C:\Python27\Scripts\” in the end. (Assuming you installed Python at default location)

Make sure to restart the command prompt for new environment variables to come in effect.


Install pip

Check if Python's package installer 'pip' is already installed.

$ pip --version



$ curl >

$ sudo python

$ rm



$ sudo apt-get install python-pip



$ curl >

$ python

$ del

Install Python 'selenium' module

$ pip install selenium


Install Git

Most of the examples for starting testing using Testdroid are located in our Github repositories. To make most out of the existing samples you should have Git installed.
There is a very good guide on how to install Git on popular OSes at Below is the abbreviated version of the installation procedures. 


Download the latest git command line tool from install it using normal Mac installation procedure.

Linux (Debian based distros)

$ sudo apt-get install git

The easiest and most straight forward way is to install the Github Windows application from

Next check out our step by step guides on how to test native, hybrid or web apps on Android or iOS using Appium.

Contact Us
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found