FW: [PythonCAD] GTK installation path
Somerlot, Chris
CSomerlot at Brwncald.com
Wed Feb 4 16:36:33 EST 2004
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
>
> _______________________________________________
> PythonCAD mailing list
> PythonCAD at python.org http://mail.python.org/mailman/listinfo/pythoncad
>
More information about the PythonCAD
mailing list