[cad-linux] Re: pythoncad first run

  • From: Thomas Schmidt <thomas.schmidt@xxxxxxxxxx>
  • To: cad-linux@xxxxxxxxxxxxx
  • Date: Sat, 10 May 2003 22:07:31 +0200

Your installation looks good. But you have the Gtk1.2 Python wrapper
installed. Do you need Gtk2.x for PythonCAD? 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:~#


Other related posts: