Building wheels for collected packages: ogl, wxPython Building wheel for ogl (pyproject.toml) ... done Created wheel for ogl: filename=ogl-3.6.7-py3-none-any.whl size=124580 sha256=e0c50bc3affee33b08c02bd09102460d68d22a243b2673204f401c84e0fcb3ad Stored in directory: /tmp/pip-ephem-wheel-cache-9z6lkv5t/wheels/6d/fc/a0/2754abbd1745deba71c77667abc6aedc1941549ddf55f9e6c2 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 ╰─> [149 lines of output] /home/hasii/PycharmProjects/ogl/pyenv-3.12.8/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py:251: _IncompatibleBdistWheel: wheel.bdist_wheel is deprecated, please import it from setuptools !! ******************************************************************************** Ensure that any custom bdist_wheel implementation is a subclass of setuptools.command.bdist_wheel.bdist_wheel. By 2025-Oct-15, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://github.com/pypa/wheel/pull/631 for details. ******************************************************************************** !! return _build_backend().build_wheel(wheel_directory, config_settings, running bdist_wheel running build /tmp/pip-install-7f602rgi/wxpython_9d286900c2eb47f98db5d5ab5e581195/build.py:44: DeprecationWarning: dep_util is Deprecated. Use functions from setuptools instead. from distutils.dep_util import newer, newer_group Will build using: "/home/hasii/PycharmProjects/ogl/pyenv-3.12.8/bin/python" 3.12.8 (main, Jan 29 2025, 11:04:22) [GCC 13.3.0] Python's architecture is 64bit cfg.VERSION: 4.2.2 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-7f602rgi/wxpython_9d286900c2eb47f98db5d5ab5e581195/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... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-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++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether we are using the Intel C++ compiler... no checking whether we are using the Sun C++ compiler... no checking for ar... ar checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for langinfo.h... yes checking for wchar.h... yes checking for sys/select.h... yes checking for cxxabi.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking size of short... 2 checking size of void *... 8 checking size of int... 4 checking size of long... 8 checking size of size_t... 8 checking size of long long... 8 checking size of wchar_t... 4 checking for va_copy... yes checking for _FILE_OFFSET_BITS value needed for large files... 64 checking if large file support is available... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking whether byte ordering is bigendian... no checking for std::wstring in ... yes checking for std::istream... yes checking for std::ostream... yes checking for type_traits... yes checking for __sync_xxx_and_fetch builtins... yes checking for libraries directories... /usr/lib/aarch64-linux-gnu /usr/lib checking for cos... no checking for floor... no checking if floating point functions link without -lm... no checking for sin... yes checking for ceil... yes checking if floating point functions link with -lm... yes checking for strtoull... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBPCRE... checking whether pcre submodule exists... yes checking for zlib.h >= 1.1.4... yes checking for zlib.h... (cached) yes checking for deflate in -lz... yes checking for png.h > 0.90... yes checking for png.h... (cached) yes checking for png_sig_cmp in -lpng... yes checking for jpeglib.h... no configure: WARNING: system jpeg library not found, will use built-in instead checking whether jpeglib.h file exists... yes checking for jbg_dec_init in -ljbig... no checking for LIBTIFF... not found via pkg-config checking for tiffio.h... no configure: WARNING: system tiff library not found, will use built-in instead checking whether tiff.h file exists... yes checking for expat.h... yes checking if expat.h is valid C++ header... yes checking for XML_ParserCreate in -lexpat... yes checking for LIBCURL... not found checking for GTK+ version... checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.16... yes checking for GTK+ - version >= 3.0.0... no *** Could not run GTK+ test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occurred. This usually means GTK+ is incorrectly installed. configure: error: The development files for GTK+ were not found. For GTK+ 2, please ensure that pkg-config is in the path and that gtk+-2.0.pc is installed. For GTK+ 1.2 please check that gtk-config is in the path, and that the version is 1.2.3 or above. Also check that the libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config --libs' are in the LD_LIBRARY_PATH or equivalent. Error running configure ERROR: failed building wxWidgets Traceback (most recent call last): File "/tmp/pip-install-7f602rgi/wxpython_9d286900c2eb47f98db5d5ab5e581195/build.py", line 1588, in cmd_build_wx wxbuild.main(wxDir(), build_options) File "/tmp/pip-install-7f602rgi/wxpython_9d286900c2eb47f98db5d5ab5e581195/buildtools/build_wxwidgets.py", line 379, in main exitIfError(wxBuilder.configure(dir=wxRootDir, options=configure_opts), File "/tmp/pip-install-7f602rgi/wxpython_9d286900c2eb47f98db5d5ab5e581195/buildtools/build_wxwidgets.py", line 72, in exitIfError raise builder.BuildError(msg) buildtools.builder.BuildError: Error running configure Finished command: build_wx (0m2.115s) Finished command: build (0m2.115s) 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/hasii/PycharmProjects/ogl/pyenv-3.12.8/bin/python" -u build.py build Command '"/home/hasii/PycharmProjects/ogl/pyenv-3.12.8/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 Successfully built ogl Failed to build wxPython [notice] A new release of pip is available: 24.3.1 -> 25.0 [notice] To update, run: pip install --upgrade pip ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (wxPython)