[PyQt] Next Releases

Phil Thompson phil at riverbankcomputing.com
Mon Sep 8 11:59:00 BST 2014

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 problem 
>>>>> in
>>>>> the
>>>>> latest SIP/PyQt4 version?
>>>>> Starting designer with a PYQTDESIGNERPATH set to a directory with a
>>>>> *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 it 
>> is
>> a distro specific issue.
> It is a problem that I've reproduced with the system packages on Gentoo
> and Debian testing.  I haven't done any manual build/install of Qt, sip 
> or
> PyQt4 on both of them.  Both provide the same version of PyQt4 (4.11.1) 
> 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 in 
>> 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 can 
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.


More information about the PyQt mailing list