[PyQt] pyqtdeploy-sysroot error

David Beck dbeck at ualberta.ca
Sat Sep 29 19:07:38 BST 2018


Hello,

I’m trying to work through the pyqt-demo from the User guide online and I’m having trouble with pyqt-sysroot, which doesn’t seem to want to build Python 3.7.0. When I try running pyqt-sysroot, I get “execution failed: returned exit code 2” in the context below:

iMac-2:demo David$ pyqtdeploy-sysroot sysroot.json --source-dir /Users/David/OpenSource/ELFBDeployment/pyqtdeploy-2.2/demo/src --component python
Installing an existing Python v3.7.0 as the host Python
Building the target Python from source
Configuring Python v3.7.0 for macos-64
Installing /Users/David/OpenSource/ELFBDeployment/pyqtdeploy-2.2/demo/sysroot-macos-64/build/Python-3.7.0/Modules/config.c
Generating /Users/David/OpenSource/ELFBDeployment/pyqtdeploy-2.2/demo/sysroot-macos-64/build/Python-3.7.0/pyconfig.h
Installing /Users/David/OpenSource/ELFBDeployment/pyqtdeploy-2.2/demo/sysroot-macos-64/build/Python-3.7.0/python.pro
pyqtdeploy-sysroot: Execution failed: returned exit code 2

pyqtdeploy-sysroot has no problem building OpenSSL, ZLib, or Qt (though I do have to point it to a static build using qt_dir in the .json file), but it bugs out when it gets to Python.

I’m working on MacOS 10.13.6 and have Qt 5.11.0 and PyQt 5.11.2 installed. The Python in the source directory is Python-3.7.0.tar.xz, downloaded a couple of days ago. XCode and the commandline tools are all up to date. Any suggestions about what might be going on would be appreciated.

Cheers,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180929/f71c3aa8/attachment.html>


More information about the PyQt mailing list