[PySide] python setup.py build fails with error: ‘class Shiboken::GilState’ has no member named ‘abandon’
listes.rusconi at laposte.net
Tue Sep 8 21:00:34 CEST 2020
Greetings, Fellow Developers,
thank you so much for your answers.
I would like to build pyside2 by myself; I did know indeed that it was possible
to start using Pyside2 using the binaries. But I would like to follow the
instructions for getting to the Shiboken2 world of Python bindings...
On Tue, Sep 08, 2020 at 07:42:59PM +0200, Cristián Maureira-Fredes wrote:
>On 9/8/20 3:51 PM, Filippo Rusconi via PySide wrote:
>>Greetings, Fellow Developers,
>>new to this list, and new to the PySide2 world, I hope I am not erring by
>>sending this mail.
>>I am willing to explore the Qt for Python universe, and for that I
>>the instructions located at
>>I could perform all the steps up to the build of PySide2, with the
>>python setup.py build --qmake=/usr/lib/qt5/bin/qmake --build-tests
>>The build configures fine and then the build stops with the
>Could you please share the whole output log?
>it would be really nice if you could share a pastebin link
>or a similar service, since usually you can see a summary of the
>configuration before the building starts at the beginning.
Sure, this is what I got:
I hope you'll be able to get to this output.
>>I do not yet know what GIL is. All I can say is that I had done:
>It's the Global Interpreter Lock from Python,
>in simple words, what controls how python code executes,
>Since PySide uses a C++-based library underneath,
>we need to control the interaction with that lock,
>acquiring it, and locking it, that's why there is some interaction
>withing the binding generator tool, Shiboken.
Thank you for the explanation. Yes, I had read some things about it.
⢀⣴⠾⠻⢶⣦⠀ Filippo Rusconi, PhD
⣾⠁⢠⠒⠀⣿⡁ Research scientist at CNRS
⢿⡄⠘⠷⠚⠋⠀ Debian Developer
More information about the PySide