[PyQt] Next Releases

Scott Kitterman debian at kitterman.com
Mon Sep 8 12:16:50 BST 2014

On September 8, 2014 6:59:00 AM EDT, Phil Thompson <phil at riverbankcomputing.com> wrote:
>On 08/09/2014 10:30 am, Georg Brandl wrote:
>> On 09/08/2014 10:54 AM, Phil Thompson wrote:
>>>>>> Is it possible that the PyQt designer plugin has a linking
>>>>>> in
>>>>>> the
>>>>>> latest SIP/PyQt4 version?
>>>>>> Starting designer with a PYQTDESIGNERPATH set to a directory with
>>>>>> *plugin.py file (e.g. using the designer/plugins example in the 
>>>>>> PyQt4
>>>>>> distribution) I get
>>>>>> ImportError: /usr/lib64/python2.7/site-packages/sip.so: undefined
>>>>>> symbol:
>>>>>> PyExc_SystemError
>>>>>> or
>>>>>> ImportError: /usr/lib64/python2.7/dist-packages/sip.so: undefined
>>>>>> symbol:
>>>>>> PyProperty_Type
>>>>>> (one is on a Gentoo system, the other on Debian testing)
>>>>>> In an interactive interpreter, "import sip" works fine.
>>> Sorry I'm not clear if this is still a problem or not - or whether
>>> is
>>> a distro specific issue.
>> It is a problem that I've reproduced with the system packages on
>> and Debian testing.  I haven't done any manual build/install of Qt,
>> or
>> PyQt4 on both of them.  Both provide the same version of PyQt4
>> and
>> sip (4.16.2).
>>> On Ubuntu I have great difficulty in creating a test environment
>>> (separate Qt, Python and PyQt builds) that doesn't seem to interact
>>> a
>>> weird way with the system versions.
>> Unforunately, I don't know how to solve that (except for removing the
>> system
>> packages).
>I can't reproduce your problem with the system packages. (Although I
>if I set LD_LIBRARY_PATH to a locally compiled Python shared library.) 
>But I can't get the PyQt example working either (ie. the C++ plugin 
>loads without error but it then doesn't load the Python plugins).
>I'll wait for Scott to say if he thinks the standard Ubuntu packages 
>should just work and if he had to do anything to make it so.

Nothing special should be needed. 

One of my fellow Debian/Ubuntu developers (mitya57) tried to reproduce this and got results like yours.   He'll report to the lost after some additional investigation. 

Scott K

More information about the PyQt mailing list