Install libqgispython2.18.17 by entering the following commands in the terminal:
sudo apt update sudo apt install libqgispython2.18.17
QGIS - shared Python library
QGIS is a Geographic Information System (GIS) which manages, analyzes and display databases of geographic information. . This package contains the shared Python library.