Install libpython3-all-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libpython3-all-dev
package depending on all supported Python 3 development packages
The package currently depends on libpython3.6-dev, in the future, dependencies on jython (Python for a JVM) and ironpython (Python for Mono) may be added. . This package is a dependency package used as a build dependency for other packages to avoid hardcoded dependencies on specific Python 3 development packages.