Please, how can I install wxpython on Fedora os? I have tried installing it but I got the following error. Thank you in advance for your answer. I have the C++ compiler installed on my computer but I am seeing that wxwidgets is not being compiled so that wxpython is installed. What do I need need to do to ensure that wxwidgets is compiled so that I can install wxpython? Collecting wxPython (from -r requirements.txt (line 1)) Downloading wxPython-4.2.3.tar.gz (58.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.9/58.9 MB 251.1 kB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting reportlab (from -r requirements.txt (line 2)) Downloading reportlab-4.4.2-py3-none-any.whl.metadata (1.8 kB) Collecting python-barcode (from -r requirements.txt (line 3)) Downloading python_barcode-0.15.1-py3-none-any.whl.metadata (2.3 kB) Collecting pillow (from -r requirements.txt (line 4)) Using cached pillow-11.2.1-cp313-cp313-manylinux_2_28_x86_64.whl.metadata (8.9 kB) Collecting charset-normalizer (from reportlab->-r requirements.txt (line 2)) Using cached charset_normalizer-3.4.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (35 kB) Downloading reportlab-4.4.2-py3-none-any.whl (2.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 756.0 kB/s eta 0:00:00 Downloading python_barcode-0.15.1-py3-none-any.whl (212 kB) Using cached pillow-11.2.1-cp313-cp313-manylinux_2_28_x86_64.whl (4.6 MB) Using cached charset_normalizer-3.4.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (148 kB) Building wheels for collected packages: wxPython Building wheel for wxPython (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for wxPython (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [97 lines of output] /tmp/pip-build-env-rkaqtp8f/overlay/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() /tmp/pip-build-env-rkaqtp8f/overlay/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel running build Will build using: "/home/oluwatosin/Documents/code/OpenSource/barcode_generator/venv/bin/python" 3.13.3 (main, Apr 22 2025, 00:00:00) [GCC 15.0.1 20250418 (Red Hat 15.0.1-0)] Python's architecture is 64bit cfg.VERSION: 4.2.3 Running command: build Running command: build_wx wxWidgets build options: ['--wxpython', '--unicode', '--gtk3'] Configure options: ['--enable-unicode', '--with-gtk=3', '--enable-sound', '--enable-graphics_ctx', '--enable-display', '--enable-geometry', '--enable-debug_flag', '--enable-optimise', '--disable-debugreport', '--enable-uiactionsim', '--enable-autoidman', '--with-sdl'] /tmp/pip-install-3ivug2pq/wxpython_a90b6be4362f41c98507bd9825ae9051/ext/wxWidgets/configure --enable-unicode --with-gtk=3 --enable-sound --enable-graphics_ctx --enable-display --enable-geometry --enable-debug_flag --enable-optimise --disable-debugreport --enable-uiactionsim --enable-autoidman --with-sdl checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for toolkit... gtk checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether we are using the Intel C compiler... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking whether we are using the Intel C++ compiler... no checking whether we are using the Sun C++ compiler... no configure: error: C++ compiler is needed to build wxWidgets Error running configure ERROR: failed building wxWidgets Traceback (most recent call last): File "/tmp/pip-install-3ivug2pq/wxpython_a90b6be4362f41c98507bd9825ae9051/build.py", line 1607, in cmd_build_wx wxbuild.main(wxDir(), build_options) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-install-3ivug2pq/wxpython_a90b6be4362f41c98507bd9825ae9051/buildtools/build_wxwidgets.py", line 383, in main exitIfError(wxBuilder.configure(dir=wxRootDir, options=configure_opts, env=env), ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ "Error running configure") ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-install-3ivug2pq/wxpython_a90b6be4362f41c98507bd9825ae9051/buildtools/build_wxwidgets.py", line 70, in exitIfError raise builder.BuildError(msg) buildtools.builder.BuildError: Error running configure Finished command: build_wx (0.940s) Finished command: build (0.940s) WARNING: Building this way assumes that all generated files have been generated already. If that is not the case then use build.py directly to generate the source and perform the build stage. You can use --skip-build with the bdist_* or install commands to avoid this message and the wxWidgets and Phoenix build steps in the future. "/home/oluwatosin/Documents/code/OpenSource/barcode_generator/venv/bin/python" -u build.py build Command '"/home/oluwatosin/Documents/code/OpenSource/barcode_generator/venv/bin/python" -u build.py build' failed with exit code 1. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for wxPython Failed to build wxPython [notice] A new release of pip is available: 24.3.1 -> 25.1.1 [notice] To update, run: pip install --upgrade pip ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (wxPython) Continue reading...