[pygtk] Windows 7 issue
john.stowers.lists at gmail.com
Sat Apr 10 05:21:03 WST 2010
On Tue, 2010-04-06 at 21:54 +1200, Mark Schafer wrote:
> Thanks for the advice Rafael,
> Alas it has not worked.
> I uninstalled python 2.6.5 and installed 2.6.4
> Then the same packages as before:
> - pycairo-1.8.6.win32-py2.6.exe
> - pygobject-2.20.0.win32-py2.6.exe
> - pygtk-2.16.0+glade.win32-py2.6.exe
> But getting exact same error :-(
> I have installed the VC2008 redistributable (vcredist_x86.exe) and no
AIUI it also depends on the version of python used to *generate* the
installer. Is this correct?
> Rafael Villar Burke (Pachi) wrote:
> > On 04/04/2010 21:58, Rafael Villar Burke (Pachi) wrote:
> > > Hi Mark, I'm having a similar problem but only for frozen
> > > applications (py2exe) when run on other machines (on mine they
> > > work fine).
> > This is exactly what other users trying my pygtk application report:
> > Traceback (most recent call last):
> > File "condensa", line 35, in <module>
> > File "condensaciones\gtkui.pyo", line 25, in <module>
> > File "gtk\__init__.pyo", line 40, in <module>
> > File "gtk\_gtk.pyo", line 12, in <module>
> > File "gtk\_gtk.pyo", line 10, in __load
> > ImportError: DLL load failed: No se encontró el proceso
> > especificado.
> > >
> > > I've recently upgraded to python 2.6.5 and I didn't have the
> > > problem till then, so maybe it's related.
> > >
> > > Can you check if using a different version of python (not 2.6.5),
> > > like 2.6.4 works for you?
> > >
> > > Please, tell us if you find anything new, and I'm also clueless
> > > about what could be the problem here.
> > The issue looks like what's described in a comp.lang.python thread
> > here 
> > If you can check that installing the VC2008 redistributable 
> > solves the problem for you then we may have further evidence.
> > AFAICT, the problem in your case is that you are missing the VC2008
> > redistributable package on your system, but the pygtk installer was
> > built using python 2.6.4, which requires it (so it should also work
> > with Python 2.6.4 on the system). In my case, everything works fine
> > locally, because I have the VC2008 redist installed system-wide but,
> > when distributing the frozen app, the embeded python dll requires it
> > to load _gtk.pyd (a DLL) and fails in systems without the VC2008
> > redistributable package installed.
> > The following Python issues are related to the problem 
> > The patch to issue 4120  was merged into the new Python 2.6.5
> > release  to avoid the dependence of wininst_bdist extensions on
> > the VC2008 redistributable.
> > If this is the problem that's happening, then building the PyGTK,
> > PyGObject and PyCairo installers using a newer Python 2.6.5 could
> > fix the problem.
> > 
> > http://groups.google.com/group/comp.lang.python/browse_thread/thread/3ec6af1279a162ca#
> > 
> > http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en
> >  http://bugs.python.org/issue7833
> >  http://bugs.python.org/issue4120
> >  http://www.python.org/download/releases/2.6.5/NEWS.txt
> > Regards,
> > Rafael Villar Burke
> > > Regards,
> > >
> > > Rafael Villar Burke
> > >
> > > On 03/04/2010 12:06, Mark Schafer wrote:
> > > > > I have installed and have working python 2.6.5
> > > > > I have installed GTK+Runtime installer from here:
> > > > > http://gtk-win.sourceforge.net/home/index.php/en/Home
> > > > > I have installed pygtk-2.16.0+glade.win32-py2.6.exe
> > > > >
> > > > > and I have the same error as Mosh:
> > > > > >>> import gtk
> > > > > Traceback (most recent call last):
> > > > > File "<pyshell#0>", line 1, in <module>
> > > > > import gtk
> > > > > File "C:\Python26\lib\site-packages\gtk-2.0\gtk\__init__.py", line 40, in <module>
> > > > > from gtk import _gtk
> > > > > ImportError: DLL load failed: The specified procedure could not be found.
> > > > >
> pygtk mailing list pygtk at daa.com.au
> Read the PyGTK FAQ: http://faq.pygtk.org/
More information about the pygtk