Install libpython3-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libpython3-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 3 version (currently v3.6).
Homepage: http://www.python.org/
Version: 3.6.5-3
Section: python