[PyQt] Unable to run qtdemo.py : ValueError: PyCapsule

Phil Thompson phil at riverbankcomputing.com
Thu Dec 6 12:08:30 GMT 2018

On 5 Dec 2018, at 11:55 am, KanoriBull <kanori.bulb at gmail.com> wrote:
> Hi,
> I have installed sip-4.19.13 and PyQt5_gpl-5.11.3 (by specifiying
> ./configure.py --sip <path>) on a Raspberry PI 3 from sources (no packages
> found with apt or pip).
> However, I can't manage to run qtdemo.py in the examples folder : 
>>>> from PyQt5 import QtCore
>    Traceback (most recent call last):
>    File "<stdin>", line 1, in <module>
>    ValueError: PyCapsule_GetPointer called with incorrect name
> How can I fixed it ? I've googled it but not found any solutions...

You haven't said how you have built sip.  At a guess...



More information about the PyQt mailing list