[PythonCAD] Problems with running pythoncad

Adrian Maier adrian.maier at gmail.com
Fri Mar 16 16:01:41 CET 2007


On 3/16/07, Adrian Maier <adrian.maier at gmail.com> wrote:
> Hello,
>
> I have unpacked PythonCAD-DS1-R35.tar.bz2   and installed the application
> by running (as root)   python setup.py  install.
>
> When executing   ./gtkpycad.py   i am getting this error :
>
> [am at dyn-9-157-129-144 PythonCAD-DS1-R35]$ ./gtkpycad.py
> Traceback (most recent call last):
>   File "./gtkpycad.py", line 38, in ?
>     from PythonCAD.Generic import imageio
>   File "/stuff/am/src/PythonCAD-DS1-R35/PythonCAD/Generic/imageio.py",
> line 34, in ?
>     import xml.parsers.expat
>   File "/usr/lib/python2.4/site-packages/_xmlplus/parsers/expat.py",
> line 4, in ?
>     from pyexpat import *
> ImportError: /usr/lib/python2.4/site-packages/_xmlplus/parsers/pyexpat.so:
> undefined symbol: XML_StopParser
>
> This seems to suggest a version mismatch with the pyexpat module. What could i
> try to make the application work?  Any ideas?
>
>
> Operating system : Linux,   Mandriva 2007
> Python : 2.4.3
> Installed rpms :  pygtk2.0-2.10.1-1mdv2007.0
>                         libexpat0-1.95.8-3mdk,
> libexpat0-devel-1.95.8-3mdk, expat-1.95.8-3mdk

PythonCad starts fine now.   I have uninstalled a rpm called
pyxml ,  and the error got away.  Very strange ...


-- 
Adrian Maier


More information about the PythonCAD mailing list