Install libpython3.6-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libpython3.6-dev
Description:
Header files and a static library for Python (v3.6)
Header files, a static library and development tools for building Python (v3.6) modules, extending the Python interpreter or embedding Python (v3.6) in applications. . Maintainers of Python packages should read README.maintainers. . This package contains development files. It is normally not used on it's own, but as a dependency of python3.6-dev.
Version: 3.6.5-3
Section: libdevel