[PythonCAD] GTK installation path
Peter Gossner
gossner at arcom.com.au
Wed Feb 4 22:34:34 EST 2004
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
>>
>> _______________________________________________
>> PythonCAD mailing list
>> PythonCAD at python.org
>http://mail.python.org/mailman/listinfo/pythoncad>
>
>_______________________________________________
>PythonCAD mailing list
>PythonCAD at python.org
>http://mail.python.org/mailman/listinfo/pythoncad
More information about the PythonCAD
mailing list