Error: Unable to create the C++ code.
Unsolved
General and Desktop
-
Failed to build PyQt5. based on installed sip-6.8.3.
I'm trying to build PyQt5 from source under Ubuntu 22.04.4, with my manually installed Qt-5.15.13. By pip, I can ONLY have the PyQt5-5.15.10 installed, which seems to cause the Qt incompatibility issue. However, I failed to build PyQt5-5.15.10 from source, with the following configuration error.
➜ PyQt5-5.15.10 python configure.py --verbose ..... sip: error: unrecognized arguments: -w -n PyQt5.sip -t WS_X11 -t Qt_5_15_0 -f -P -o -y QtCore.pyi -c ....../PyQt5-5.15.10/QtCore -I sip -I ....../PyQt5-5.15.10/sip ....../PyQt5-5.15.10/sip/QtCore/QtCoremod.sip Error: Unable to create the C++ code.
Can anybody please help???
Thanks
-
@jiapei100
If you do not get an answer here sign up to the PyQt mailing list, https://www.riverbankcomputing.com/mailman/listinfo/pyqt, and ask there.