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:
pip install dronekit
Installation notes:
Install dronekit with pip inside a virtualenv:
python3 -m venv .venv . .venv/bin/activate pip install dronekit
On Linux you may need to first install pip and python-dev:
sudo apt-get install python-pip python-dev
Alternatively, you can use the ensurepip module to install or upgrade Pip on your system:
python -m ensurepip --upgrade
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.
Python 3 is fully supported.