Skip to content

ERROR: Failed building wheel for wxPython #262

@iseppe

Description

@iseppe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions