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
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
This is required so you can install pip packages in your Python venv that require compilation.
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!
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.
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