- Install required packages from terminal.
sudo apt-get install python3-dev python3-pip
- Install dronekit Python module.
python3 -m pip install dronekit
- To update the Dronekit for using the latest version, run the command.
python3 -m pip install dronekit --upgrade