Thanks to your guidance I’ve managed to proceed to the compilation only to stuck further down with the following o/p:
make[1]: Leaving directory '/tmp/pip-install-szp36epl/wxpython_b9659830c5624675958b422678235151/ext/wxWidgets/locale'
Finished command: build_wx (0.886s)
Running command: build_py
Checking for /tmp/pip-install-szp36epl/wxpython_b9659830c5624675958b422678235151/bin/waf-2.0.24...
"/usr/bin/python3" /tmp/pip-install-szp36epl/wxpython_b9659830c5624675958b422678235151/bin/waf-2.0.24 --wx_config=/tmp/pip-install-szp36epl/wxpython_b9659830c5624675958b422678235151/build/wxbld/gtk3/wx-config --gtk3 --python="/usr/bin/python3" --out=build/waf/3.10/gtk3 configure build
Setting top to : /tmp/pip-install-szp36epl/wxpython_b9659830c5624675958b422678235151
Setting out to : /tmp/pip-install-szp36epl/wxpython_b9659830c5624675958b422678235151/build/waf/3.10/gtk3
Checking for 'gcc' (C compiler) : /usr/bin/gcc
Checking for 'g++' (C++ compiler) : /usr/bin/g++
Checking for program 'python' : /usr/bin/python3
Checking for python version >= 3.7.0 : 3.10.8
python-config : not found
Checking for library python3.10 in LIBDIR : not found
Checking for library python3.10 in python_LIBPL : not found
Checking for library python3.10 in $prefix/libs : not found
Checking for library python3.10 in $INCLUDEPY/../libs : not found
Checking for library python3.10m in LIBDIR : not found
Checking for library python3.10m in python_LIBPL : not found
Checking for library python3.10m in $prefix/libs : not found
Checking for library python3.10m in $INCLUDEPY/../libs : not found
Checking for library python310 in LIBDIR : not found
Checking for library python310 in python_LIBPL : not found
Checking for library python310 in $prefix/libs : not found
Checking for library python310 in $INCLUDEPY/../libs : not found
Checking for header Python.h : Distutils not installed? Broken python installation? Get python-config now!
The configuration failed
(complete log in /tmp/pip-install-szp36epl/wxpython_b9659830c5624675958b422678235151/build/waf/3.10/gtk3/config.log)
Command '"/usr/bin/python3" /tmp/pip-install-szp36epl/wxpython_b9659830c5624675958b422678235151/bin/waf-2.0.24 --wx_config=/tmp/pip-install-szp36epl/wxpython_b9659830c5624675958b422678235151/build/wxbld/gtk3/wx-config --gtk3 --python="/usr/bin/python3" --out=build/waf/3.10/gtk3 configure build ' failed with exit code 1.
Finished command: build_py (0m2.298s)
Finished command: build (0m3.185s)
Command '"/usr/bin/python3" -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: legacy-install-failure
× Encountered error while trying to install package.
╰─> wxpython
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
I installed python-config and run the installation once more but it failed with the same result. I did not find anything on the net for this issue relevant. Is there another package missing too?