Unbreak pip so it can install most Python packages in venv correctly without having to use Distrobox or Toolbx: Difference between revisions
From Pengwings
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
You have to layer the Python 3 development stuff, yes I know you shouldn't, oh no! | You have to layer the Python 3 development stuff, yes I know you shouldn't, oh no! | ||
Honestly this package should be included as part of the distro, why provide pip but not python3-devel? This makes no sense to me. | Honestly this package should be included as part of the distro, why provide pip but not python3-devel? This makes no sense to me as pip is half-broken without this package. | ||
sudo rpm-ostree install python3-devel | sudo rpm-ostree install python3-devel | ||
systemctl reboot | systemctl reboot | ||
Revision as of 17:44, 8 February 2026
This is required so you can install pip packages in your Python venv that require compilation.
You have to layer the Python 3 development stuff, yes I know you shouldn't, oh no!
Honestly this package should be included as part of the distro, why provide pip but not python3-devel? This makes no sense to me as pip is half-broken without this package.
sudo rpm-ostree install python3-devel systemctl reboot