import glib échoue avec:
ImportError: /usr/lib/python2.7/dist-packages/glib/_glib.so: undefined symbol: PyUnicodeUCS4_DecodeUTF8
Comment puis-je réparer cela?
La version de Python est Python 2.7.3rc2. L’OS est Debian.
Le module a été construit sur un Python construit avec UCS-4 comme représentation unicode
interne. Votre Python a été construit avec UCS-2 en tant que représentation interne. Reconstruisez le module ou reconstruisez Python.
Ce problème est mentionné dans la FAQ officielle . Ceci est discuté en profondeur dans le numéro de python 8654 .