FW: [PythonCAD] GTK installation path

Somerlot, Chris CSomerlot at Brwncald.com
Thu Feb 5 08:07:30 EST 2004


It should, and that's the beauty of setting up the PATH variable in the
code, I will double check on the other versions to make sure.

> -----Original Message-----
> From: Peter Gossner [mailto:gossner at arcom.com.au] 
> Sent: Wednesday, February 04, 2004 10:35 PM
> To: pythoncad at python.org
> Subject: Re: [PythonCAD] GTK installation path
> 
> 
> Hey congrats,
> Not having Windows I could not check.
> Would the same path apply across the various flavours of 
> 'doze. (i.e 98 - XP ) ?
> 
> --Pete
> 
> 
> On Wed, 4 Feb 2004 13:36:33 -0800   "Somerlot, Chris"
> <CSomerlot at Brwncald.com> wrote:
> >I figured it out, I just had to edit gtkpycad.py as such:
> >
> >import getopt
> >import sys
> >if sys.platform == 'win32':
> >    gtkdir = 'C:/Program Files/Common Files/GTK/2.0'
> >    import os
> >    os.environ['PATH'] += ";%s/lib;%s/bin" % (gtkdir, gtkdir)
> >else:
> >    import os
> >import gtk
> >...
> >
> >> -----Original Message-----
> >> From: Somerlot, Chris
> >> Sent: Tuesday, February 03, 2004 11:24 AM
> >> To: Pythoncad
> >> Subject: [PythonCAD] GTK installation path
> >> 
> >> 
> >> I'm having trouble getting pythonCAD to start in Windows
> >> because it can't find a GTK library (new installation). pyGTK 
> >> is in the python directory (/lib/site-packages), and the 
> >> installation of GTK put it somewhere in the Program Files 
> >> directory. Has anyone had this problem? I think I need to 
> >> either install GTK in a different directory or put in a PATH
> >variable?>
> >> Chris
> >> 
> 



More information about the PythonCAD mailing list