On Saturday 10 May 2003 16:07, you wrote: > Your installation looks good. But you have the Gtk1.2 Python wrapper > installed. Do you need Gtk2.x for PythonCAD? i have both gtk1.2 and gtk2.0 installed the pygtk version from sarge is for 1.2. i tried to compile the pygtk for 2.0 but had trouble with the configure. configure ended with: checking whether to enable threading in pygtk... no checking for pkg-config... no checking for GLIB - version >= 2.0.0... no *** A new enough version of pkg-config was not found. *** See http://www.freedesktop.org/software/pkgconfig/ configure: error: maybe you want the gtk-gnome-1-2 branch? llano:/home/widgets/pygtk-1.99.16# > I do not remember. > If you need Gtk 2.x, you also need Gtk 2.x Python wrapper. > I have removed PythonCAD after playing around with it.=20 > I just wanted to have a look at the state of it, so I can no longer check > my installation. But I remember that I installed/compiled Gtk, the Python > wrapper for Gtk and PythonCAD itself. I have not used already > installed packages. > > Hope that helps, > Thomas > > > On Saturday 10 May 2003 08:28, you wrote: > > > Hi Phrostie, > > > > > > Python loads its modules at runtime, so cannot list required shared l= > > ibs > > > > with ldd. The only way to see what it needs is to run it. But this wo= > > n't > > > > =3D help > > > you now.=3D20 > > > The import error you got means that the gtk wrapper cannot be found. > > > Have you compiled and installed the Python wrapper for gtk? > > > > i'm running debian/Sarge. these are the pygtk files currently installe= > > d. > > > if i know where pythoncad is looking for them i can drop some symlinks > > so that it will see them there. > > > > where are yours? > > > > llano:~# locate pygtk > > /usr/bin/pygtk-codegen-1.2 > > /usr/include/pygtk > > /usr/include/pygtk/pygdkimlib.h > > /usr/include/pygtk/pygdkpixbuf.h > > /usr/include/pygtk/pygtk.h > > /usr/lib/python2.2/site-packages/pygtk.pth > > /usr/lib/python2.2/site-packages/pygtk.py > > /usr/lib/python2.2/site-packages/pygtk.py.python-gtk > > /usr/lib/python2.2/site-packages/pygtk.pyc > > /usr/lib/python2.2/site-packages/pygtk.pyo > > /usr/share/pygtk > > /usr/share/pygtk/1.2 > > /usr/share/pygtk/1.2/codegen > > /usr/share/pygtk/1.2/codegen/generate.py > > /usr/share/pygtk/1.2/codegen/scmexpr.py > > /usr/share/pygtk/1.2/defs > > /usr/share/pygtk/1.2/defs/applet.defs > > /usr/share/pygtk/1.2/defs/capplet.defs > > /usr/share/pygtk/1.2/defs/gnome-enums.defs > > /usr/share/pygtk/1.2/defs/gnome.defs > > /usr/share/pygtk/1.2/defs/gnomeui.defs > > /usr/share/pygtk/1.2/defs/gtk.defs > > /usr/share/pygtk/1.2/defs/gtkbase.defs > > /usr/share/pygtk/1.2/defs/gtkcontainers.defs > > /usr/share/pygtk/1.2/defs/gtkdata.defs > > /usr/share/pygtk/1.2/defs/gtkdnd.defs > > /usr/share/pygtk/1.2/defs/gtkedit.defs > > /usr/share/pygtk/1.2/defs/gtkenums.defs > > /usr/share/pygtk/1.2/defs/gtkgl.defs > > /usr/share/pygtk/1.2/defs/gtkhtml.defs > > /usr/share/pygtk/1.2/defs/gtklists.defs > > /usr/share/pygtk/1.2/defs/gtkmenus.defs > > /usr/share/pygtk/1.2/defs/gtkmisc.defs > > /usr/share/pygtk/1.2/defs/gtkranges.defs > > /usr/share/pygtk/1.2/defs/libglade.defs > > /usr/share/pygtk/1.2/defs/xmhtml.defs > > /usr/share/pygtk/1.2/defs/zvt.defs > > llano:~# -- Oh i've slipped the surly bonds of DOS and danced the skies on Linux silvered wings. http://pfrostie.freeservers.com/cad-tastrafy/ //www.freelists.org/webpage/cad-linux