I was trying to compile the eric5 version, which needs sip ( http://www.riverbankcomputing.com/software/sip/download); and I got this error if I try to import the sip:
th...@thuck:~/Downloads/eric5-5.0.2$ python3.2 Python 3.2a2+ (r32a2:84522, Sep 19 2010, 20:00:41) [GCC 4.4.5 20100902 (prerelease)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sip Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: /usr/lib/python3/dist-packages/sip.so: undefined symbol: _Py_ZeroStruct Based on the topic, I checked with objdump: th...@thuck:~/Downloads/PyQt-x11-gpl-4.7.7$ objdump -T /usr/bin/python|grep _Py_ZeroStruct 00000000008711d0 g DO .data 0000000000000018 Base _Py_ZeroStruct th...@thuck:~/Downloads/PyQt-x11-gpl-4.7.7$ ls -lh /usr/bin/python lrwxrwxrwx 1 root root 9 Sep 26 11:03 /usr/bin/python -> python2.6 th...@thuck:~/Downloads/PyQt-x11-gpl-4.7.7$ objdump -T /usr/bin/python3.1|grep _Py_ZeroStruct th...@thuck:~/Downloads/PyQt-x11-gpl-4.7.7$ objdump -T /usr/bin/python3.2|grep _Py_ZeroStruct As you can see the version 2.6 is ok, but neither 3.1, nor 3.2 has _Py_ZeroStruct.