Install libpython-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libpython-dev
Description:
header files and a static library for Python (default)
Header files, a static library and development tools for building Python modules, extending the Python interpreter or embedding Python in applications. . This package is a dependency package, which depends on Debian's default Python version (currently v2.7).
Homepage: http://www.python.org/
Version: 2.7.15~rc1-1
Section: python