For those who are struggling building wxPython, you may need to install additional build tools to your system.
I'm using Fedora 41 and was getting the error:
configure: error: C++ compiler is needed to build wxWidgets
Installing the following packages fixed the issue:
sudo dnf-3 groupinstall "Development Tools"
sudo dnf install gcc-c++ gtk3-devel
# additional packages [libnotify-devel gstreamer1-devel gstreamer1-plugins-base-devel libcurl-devel]
Now you can install the requirements and build wxPython successfully
# activate venv first
pip3 install -r requirements
For those who are struggling building wxPython, you may need to install additional build tools to your system.
I'm using Fedora 41 and was getting the error:
configure: error: C++ compiler is needed to build wxWidgetsInstalling the following packages fixed the issue:
Now you can install the requirements and build wxPython successfully