El jue, 01-07-2004 a las 10:15, vector180 escribi�:
> and thus we come full circle again. I must be a real chump.
> see posts on Re: [pygtk] pygtk tutorial win32 problems.
> or see
> http://mec-symonds.eng.monash.edu.au/cgi-bin/twiki/view/Saqqara/Gtk4Win32
> for all the info. note i did get previous versions to work
> 
> haveing seen the gruppy announcement I thought "now thats the way to 
> install on win32".
> http://gruppy.sicem.biz/descargas
> windows 32
>      1*  Install Python 2.3 if you don't have it already
>      2* Install this package GTK+ 2.4.3
>      3* Install this version of PyGTK 2.3.93
>      * Install Gazpacho
> step 1 allready done
> step 2 fine installed (having uninstalled previous gtk, and pygtk
> step 3 fine installed
> test with simple code  [EMAIL PROTECTED]@[EMAIL PROTECTED]@%$#
> import pygtk
> import gtk
> 
>     exec codeObject in __main__.__dict__
>    File "F:\_Programs\Development\Gruppy\pygtkinstall test.py", line 5, in ?
>      import gtk
>    File "C:\PYTHON23\Lib\site-packages\gtk-2.0\gtk\__init__.py", line 
> 38, in ?
>      import gobject as _gobject
> ImportError: DLL load failed: The specified module could not be found.
>  >>>
> 

Ok, pygtk is not finding your GTK+ libraries. If you have a look at the
first lines of gazpacho.py [1] you'll see that it is changing the PATH
to include the location of those libraries (consulting it from the
registry).

If you don't want to that just set the PATH before running any pygtk
application. It should contain the bin directory of your GTK+
installation.

[1] http://www.sicem.biz/viewsvn/pyglade/gazpacho.py?view=auto&rev=406


> time to hit the scotch....again
> 
> Cedric Gustin wrote:
> 
> > On Thu, 2004-07-01 at 01:25, vector180 wrote:
> > 
> >>I(noob) have been using pygtk-2.2.0-1.win32-py2.3.exe fine with my 
> >>pywin32-201.win32-py2.3.exe on a winxp machine.
> >>i upgraded pygtk to pygtk-2.3.93.win32-py2.3.exe and my app now gives me 
> >>an error
> >>import gtk,gobject,pango
> >>ImportError: No module named gobject
> >>
> >>i havent touched gtk which is  gtk+-2.2.4-20040124-setup.exe.exe
> > 
> > 
> > pygtk-2.3.93 requires GTK+ 2.4. There is an installer at 
> > 
> > http://gladewin32.sourceforge.net/
> > 
> > You don't need the all-in-one installer. The Runtime installer is enough
> > for pygtk.
> > 
> > Cedric 
> > 
> > 
> 

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to