[pygtk] install pygtk from source with all its dependencies
Simon Feltman
s.feltman at gmail.com
Mon Sep 9 06:51:01 WST 2013
Hi,
A web search for "PyUnicodeUCS4_DecodeUTF8" revealed the following:
http://stackoverflow.com/questions/16871799/trying-to-import-a-module-undefined-symbol-pyunicodeucs4-decodeutf8
So, it looks like you need to build the extension with UCS-2 or build
Python with UCS-4. The configure step for Python looks like it takes
"--enable-unicode=ucs4"
(not sure about PyGObject though).
-Simon
On Fri, Sep 6, 2013 at 5:07 AM, Ogi Vranesic <ogi at redcor.ch> wrote:
> Hi dear users of pygtk
>
> I installed in linux (suse) python 2.7.5 from source in directory
> /usr/local/python.
> After installing of pygobject (as dependency for pygtk) and starting of
> python interpreter the following error message has been displayed:
>
> >>> import gobject
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "gobject/__init__.py", line 26, in <module>
> from glib import spawn_async, idle_add, timeout_add,
> timeout_add_seconds, \
> File "glib/__init__.py", line 22, in <module>
> from glib._glib import *
> ImportError: glib/_glib.so: undefined symbol: PyUnicodeUCS4_DecodeUTF8
>
> Please can somebody give me a hint how to solve this problem.
>
> Thanks in advance
> Ogi
> ______________________________**_________________
> pygtk mailing list pygtk at daa.com.au
> http://www.daa.com.au/mailman/**listinfo/pygtk<http://www.daa.com.au/mailman/listinfo/pygtk>
> Read the PyGTK FAQ: http://faq.pygtk.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20130908/15ce2029/attachment.html>
More information about the pygtk
mailing list