Unbreak pip so it can install most Python packages in venv correctly without having to use Distrobox or Toolbx: Difference between revisions
From Pengwings
Created page with "You have to layer the Python 3 development stuff, yes I know you shouldn't, oh no sudo rpm-ostree install python3-devel systemctl reboot" |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
You have to layer the Python 3 development stuff, | 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. | |||
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 | ||
Latest revision as of 18:00, 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.
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