If you need the python header files, depending on your distro, you may need to install python3-dev, python3-devel, python3, or some other variation on the name. For a novice, this might not always be obvious and they might not know things like apt-file are helpful for figuring it out.
If you need the python header files, depending on your distro, you may need to install python3-dev, python3-devel, python3, or some other variation on the name. For a novice, this might not always be obvious and they might not know things like
apt-file
are helpful for figuring it out.Huh. Shouldn’t apt install header dependencies too? I’m using system where every package comes with headers, so I don’t install headers separately.
Debian and RedHat based distros typically do not bundle them together. The have separate
-dev
and-devel
packages for headers.