.. _installing_dronekit: =================== Installing DroneKit =================== DroneKit-Python can be installed on a Linux, Mac OSX, or Windows computer that has Python 2.7 or Python 3 installed and can install Python packages from the Internet. It is installed from **pip** on all platforms: .. code-block:: bash pip install dronekit **Installation notes:** * Install `dronekit` with `pip` inside a virtualenv: .. code-block:: bash python3 -m venv .venv . .venv/bin/activate pip install dronekit * On Linux you may need to first install **pip** and **python-dev**: .. code-block:: bash sudo apt-get install python-pip python-dev Alternatively, you can use the `ensurepip` module to install or upgrade Pip on your system: .. code-block:: bash python -m ensurepip --upgrade * :doc:`companion-computers` are likely to run on stripped down versions of Linux. Ensure you use a variant that supports Python 2.7 and can install Python packages from the Internet. * Windows does not come with Python by default, but there are `many distributions available `_. We have tested against: * `WinPython 2.7 64bit `_ (see `these instructions for installation and registration `_). This is the most tested version. * `ActiveState ActivePython 2.7 `_. * Python 3 is fully supported.