• thelastknowngod@lemm.ee
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      1 year ago

      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.

      • uis@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        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.

        • thelastknowngod@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Debian and RedHat based distros typically do not bundle them together. The have separate -dev and -devel packages for headers.