[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Unable to run qtdemo.py : ValueError: PyCapsule
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2018-12-06 12:08:30
Message-ID: 6DF5EBE5-0E06-4A1F-A6C1-C3435D437224 () riverbankcomputing ! com
[Download RAW message or body]

On 5 Dec 2018, at 11:55 am, KanoriBull <kanori.bulb@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...

https://pyqt.readthedocs.io/en/latest/installation.html#downloading-sip

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic