Re: iso-codes: ImportError: cannot import name saxlib



> `/home/bw/tmp/garnome-2.12.2/bootstrap/iso-codes/work/main.d/iso-codes-0.46/iso_639'
> ../iso2pot.py --is-version 0.46pre1 --comments iso_639_2T_code \
>                 --fields name iso_639.xml iso_639.pot
> Traceback (most recent call last):
>   File "../iso2pot.py", line 9, in ?
>     from xml.sax import saxutils, make_parser, saxlib, saxexts,
> ContentHandler
> ImportError: cannot import name saxlib

> running Mandrake 10.1

$ rpm -qf /usr/lib/python2.4/site-packages/_xmlplus/sax/saxlib.py
python-pyxml-0.8.4-1mdk

(Result of a Mandriva 2005 aka Mandrake 10.2 system.) You need to
install the package python-pyxml, which is provided by Mandrake but not
yet installed for you.

IIRC you will need to install the package pyrex, too.

...guenther


-- 
char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]