Python's making my head hurt...

Lloyd Kvam python at venix.com
Sat Jan 5 15:44:06 EST 2008


On Sat, 2008-01-05 at 15:00 -0500, Star wrote:
> The error is "ImportError: /usr/lib/python2.4/lib-dynload/cPickle.so:
> undefined symbol: PyUnicodeUCS4_DecodeRawUnicodeEscape"
...
> Or perhaps help me with some ideas on writing a
> short test script that can help me duplicate/confirm that it's an
> error with the debian packaging?

To reproduce an import error, I'd start with:
        python	# start the python interpreter
        >>> import cPickle
        >>> cPickle.__file__
        '/usr/lib/python2.5/lib-dynload/cPickle.so'
        
The above is what I get on my Fedora 8 laptop.  If the import works for
you then debugging can get more complicated.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug



More information about the gnhlug-discuss mailing list