Hi there ,
I’m on Linux OpenMandriva LX4.2, python3.9.1.
I tried to install wxPython 4.1.1, following the receipe :
https://wxpython.org/blog/2017-08-17-builds-for-linux-with-pip/index.html
launching command : pip wheel -v wxPython-4.1.1.tar.gz 2>&1 | tee build.log
the process failed on error :
[491/921] Compiling sip/cpp/sip_corewxExecuteEnv.cpp
[492/921] Compiling sip/cpp/sip_corewxLogWindow.cpp
[493/921] Linking build/waf/3.9/gtk3/_core.cpython-39-x86_64-linux-gnu.so
collect2: fatal error: ld terminated with signal 15 [Terminated]
compilation terminated.
Waf: Leaving directory `/tmp/pip-req-build-g0_nlrho/build/waf/3.9/gtk3'
Build failed
-> task in '_core' failed with exit status 1 (run with -v to display more information)
Command '"/home/redge/Developpement/GestConsoPhoenix4.1.x--1.3.4/env4.1/bin/python" /tmp/pip-req-build-g0_nlrho/bin/waf-2.0.19 --wx_config=/tmp/pip-req-build-g0_nlrho/build/wxbld/gtk3/wx-config --gtk3 --python="/home/redge/Developpement/GestConsoPhoenix4.1.x--1.3.4/env4.1/bin/python" --out=build/waf/3.9/gtk3 configure build ' failed with exit code 1.
Finished command: build_py (25m43.343s)
Finished command: build (43m24.144s)
Command '"/home/redge/Developpement/GestConsoPhoenix4.1.x--1.3.4/env4.1/bin/python" -u build.py build' failed with exit code 1.
Building wheel for wxPython (setup.py): finished with status 'error'
ERROR: Failed building wheel for wxPython
Running setup.py clean for wxPython
Running command /home/redge/Developpement/GestConsoPhoenix4.1.x--1.3.4/env4.1/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-g0_nlrho/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-g0_nlrho/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
running clean
'build/lib.linux-x86_64-3.9' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.9' does not exist -- can't clean it
Failed to build wxPython
ERROR: Failed to build one or more wheels
Exception information:
Traceback (most recent call last):
File "/home/redge/Developpement/GestConsoPhoenix4.1.x--1.3.4/env4.1/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 189, in _main
status = self.run(options, args)
File "/home/redge/Developpement/GestConsoPhoenix4.1.x--1.3.4/env4.1/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 178, in wrapper
return func(self, options, args)
File "/home/redge/Developpement/GestConsoPhoenix4.1.x--1.3.4/env4.1/lib/python3.9/site-packages/pip/_internal/commands/wheel.py", line 190, in run
raise CommandError(
pip._internal.exceptions.CommandError: Failed to build one or more wheels
Removed build tracker: '/tmp/pip-req-tracker-89l98ijx'
Any idea on what happens ?
Thanks a lot in advance