[pygtk] How do I set up my PATH?
Paolo Bacci
paolobacci at gmail.com
Fri Jun 6 00:19:42 WST 2008
yes
On Thu, Jun 5, 2008 at 6:21 AM, Markus W. Barth <markus at sismografo.es>
wrote:
> Have you installed gtk?
>
> On Thursday 05 June 2008 00:42:37 Paolo Bacci wrote:
> > Hi, I've installed on windows the lastest version of each component:
> > > python25
> > > pycairo
> > > pygobject
> > > pygtk
> >
> > They are in C:\Python25
> >
> > In my code I use these imports:
> >
> > import gtk
> >
> > > import cairo
> > > import gobject
> >
> > and when I try to run it give me back the error:
> >
> > Traceback (most recent call last):
> > > File "C:\Users\paolo\workspace\HTMLDOM\src\GFX\treeView.py", line 1,
> in
> > > <module>
> > > import gtk
> > > File "C:\Python25\lib\site-packages\gtk-2.0\gtk\__init__.py", line
> 38,
> > > in <module>
> > > import gobject as _gobject
> > > File "C:\Python25\lib\site-packages\gtk-2.0\gobject\__init__.py",
> line
> > > 30, in <module>
> > > from gobject.constants import *
> > > File "C:\Python25\lib\site-packages\gtk-2.0\gobject\constants.py",
> line
> > > 22, in <module>
> > > from _gobject import type_from_name
> > > ImportError: DLL load failed: The specified module could not be found.
> >
> > So I think that my PATH is wrong, how can I set it correctly?
> >
> > Thanks!
>
>
> _______________________________________________
> pygtk mailing list pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20080605/481fad68/at=
tachment.htm
More information about the pygtk
mailing list