Installing DroneKit

DroneKit-Python can be installed on a Linux, Mac OSX, or Windows computer that has Python 2.7 and can install Python packages from the Internet.

It is installed from pip on all platforms:

pip install dronekit

Installation notes:

  • Mac and Linux require you prefix the command with sudo.

    sudo pip install dronekit
    
  • On Linux you may need to first install pip and python-dev:

    sudo apt-get install python-pip python-dev
    

    Alternatively, the easy_install tool provides another way to install pip:

    sudo easy_install pip
    
  • 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:

  • Python 3 is not supported.