Building PySide2 failed
-
I'm try to install PySide2, based on this manual: https://doc.qt.io/qtforpython-5/gettingstarted-macOS.html
When I run the commnand on step Building PySide2, the proccess fail.Command: python setup.py build --qmake=/Users/mauricio/Qt/5.15.2/clang_64/bin/qmake --build-tests --ignore-git --parallel=8
Error: Project ERROR: failed to parse default search paths from compiler output
error: Failed to query for Qt's QMAKE_MACOSX_DEPLOYMENT_TARGET.
Traceback (most recent call last):
File "/Users/mauricioatehortua/pyside-setup/setup.py", line 296, in <module>
setup_runner.run_setup()
File "/Users/mauricioatehortua/pyside-setup/build_scripts/setup_runner.py", line 168, in run_setup
raise RuntimeError(msg)
RuntimeError:
setup.py invocation failed with exit code: 1.Any sugestions to solve it?
My QT version: 5.15
CMake version: 3.29
libclang version 10
My device is MAC M1 (macos 14.3.1)Thanks!
-
Hi and welcome to devnet,
There was an issue with a change in the latest Xcode that required to patch the detection that triggers your error.
See this bug report.