Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I building applications using Qt4 to develop the UI and python 3.2 OS UBUNTU 10.04 Python 3.2 is installed but fails the following

from PyQt4.QtGui import *
Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    from PyQt4.QtGui import *
ImportError: /usr/local/lib/python3.2/site-packages/PyQt4/QtCore.so: undefined symbol: PyUnicodeUCS4_AsLatin1String

I've attempted to install python to use UCS-4 but have not been able to do so. Python 2.6 on the machine performs without a problem import objects/modules from Qt4.

How do I go about configuring Python 3.2 to work in UCS-4 environment?

share|improve this question

closed as too localized by Bruno Pereira Mar 8 '12 at 9:13

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
I think Ubuntu compiled Pythons have wrong UCS-4 setting and you need to build your own if you want to change it. –  Mikko Ohtamaa Sep 10 '11 at 18:21

Browse other questions tagged or ask your own question.