[PySide] python setup.py build fails with error: ‘class Shiboken::GilState’ has no member named ‘abandon’
Filippo Rusconi
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:
>Hello,
>
>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
>>am following
>>the instructions located at
>>https://doc.qt.io/qtforpython/gettingstarted-linux.html
>>
>>I could perform all the steps up to the build of PySide2, with the
>>following
>>command line:
>>
>>python setup.py build --qmake=/usr/lib/qt5/bin/qmake --build-tests
>>--ignore-git
>>
>>The build configures fine and then the build stops with the
>>following error:
>>[snip]
>
>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:
https://paste.debian.net/1163090/
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,
>https://docs.python.org/3/glossary.html#term-global-interpreter-lock
>
>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.
Most sincerely,
Filippo
--
⢀⣴⠾⠻⢶⣦⠀ Filippo Rusconi, PhD
⣾⠁⢠⠒⠀⣿⡁ Research scientist at CNRS
⢿⡄⠘⠷⠚⠋⠀ Debian Developer
⠈⠳⣄⠀⠀⠀⠀ http://msxpertsuite.org
http://www.debian.org
More information about the PySide
mailing list