Re: [pygtk] DLL load errors with Py2.6, PyGTK 2.22 and GTK 2.22 bundle

2010-11-29 Thread Dieter Verfaillie

Quoting "Paul Goins" :

On 11/30/2010 3:54 AM, Dieter Verfaillie wrote:

set PATH=C:\gtk_bundle\bin\%PATH%
python -v -c "import gtk"


Did this and the error still occurred.  However, I just noticed:
there's no semicolon before %PATH%.  Probably if I added that it'd
work.


Oops, that's a typo :S


Anyway, after trying the above, the next thing I tried was to adjust
my system path.  Setting C:\gtk_bundle\bin\ as the first entry seemed
to solve the problem.  It does work now.

Excellent; very nice catch.  Thanks for your patient assistance.


No problem,
mvg,
Dieter


This message was sent using IMP, the Internet Messaging Program.

___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] DLL load errors with Py2.6, PyGTK 2.22 and GTK 2.22 bundle

2010-11-29 Thread Paul Goins

Hello,

On 11/30/2010 3:54 AM, Dieter Verfaillie wrote:
> set PATH=C:\gtk_bundle\bin\%PATH%
> python -v -c "import gtk"

Did this and the error still occurred.  However, I just noticed:
there's no semicolon before %PATH%.  Probably if I added that it'd
work.

Anyway, after trying the above, the next thing I tried was to adjust
my system path.  Setting C:\gtk_bundle\bin\ as the first entry seemed
to solve the problem.  It does work now.

Excellent; very nice catch.  Thanks for your patient assistance.

- Paul

___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] DLL load errors with Py2.6, PyGTK 2.22 and GTK 2.22 bundle

2010-11-29 Thread Dieter Verfaillie

Quoting "Paul Goins" :

Dependency walker image is here:
http://www.vultaire.net/mail_attachments/_gtk.dwi


I've analyzed that file and you seem to have some other problems
on your system. Apparently some Lua directory comes before c:\gtk_bundle_bin
on your PATH environment variable. And it contains freetype6.dll (linked
against msvcr80.dll !!!) and zlib1.dll which are loaded by libcairo-2.dll
which in turn is loaded by _gtk.pyd.

As a test, could you do (exactly) the following from cmd.exe (Command Prompt):

set PATH=C:\gtk_bundle\bin\%PATH%
python -v -c "import gtk"

and see what happens?

mvg,
Dieter



This message was sent using IMP, the Internet Messaging Program.

___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] DLL load errors with Py2.6, PyGTK 2.22 and GTK 2.22 bundle

2010-11-29 Thread Paul Goins

Okay, I got some time to follow through on all of your feedback.


First: turns out I already had MSVCR90.DLL.  If I ran Dependency
Walker directly on the Python executable, the DLL was found and
resolved to:


C:\windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_508ed732bcbc0e5a\MSVCR90.DLL


However, running it on _gtk.pyd, I get:

C:\Python26\Lib\site-packages\gtk-2.0\gtk\MSVCR90.DLL was not found.


I tried uninstalling and reinstalling all the Visual C++
redistributable files.  (x86 versions, of course.)  No luck.

I also tried removing all Python installations (via Add/Remove
programs plus removing the leftover c:\python26).  I then installed
Python 2.7.1 (x86) plus the 2.7 versions of the PyGTK packages.  Still
no luck: python.exe finds the DLL, while _gtk.pyd cannot.

I tried copying the DLL into my program's directory, into the python
directory, into various subdirectories of site-packages, into
site-packages\gtk-2.0\gtk...  Nothing has yet allowed "import gtk" to
work.

I'm at a loss.  Anyone have any other ideas?


Thanks again,

- Paul
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] DLL load errors with Py2.6, PyGTK 2.22 and GTK 2.22 bundle

2010-11-28 Thread Dieter Verfaillie

Quoting gene...@vultaire.net:

Hi Stephen,


From: Stephen George 

MSVCR90.DLL is a requirement for many applications. (built with
Microsoft Visual C++)


Yes, I understand this.  My point is that it was not documented on the
PyGTK pages, at least as far as I can see.  I'm just trying to help
improve the docs so others don't hit the same problem.


It's required by Python itself (for 2.6 and newer...). See the other
message I sent ;)

mvg,
Dieter


This message was sent using IMP, the Internet Messaging Program.

___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] DLL load errors with Py2.6, PyGTK 2.22 and GTK 2.22 bundle

2010-11-28 Thread Dieter Verfaillie

Quoting "Stephen George" :

Hi Paul,

MSVCR90.DLL is a requirement for many applications. (built with  
Microsoft Visual C++)


See Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a5c84275-3b97-4ab7-a40d-3802b2af5fc2

I think MSVCR90.DLL is a dependency of pyGTK, your old pyGTK you  
where running probably had a dependency for an old version of the MS  
C Runtime, which would still be installed on your HD somewhere, but  
just not compatible with the new pyGTK.


It's required by Python (2.6, 2.7, 3.0, 3.1). Current pygtk, pygobject
and pycairo versions distributed on ftp.gnome.org are built with mingw,
thus require msvcrt.dll (which is distributed together with the os).


See if installing the MS runtime above fixes your problem.


There a great chance it will, but that might hide the source of his problem:
The fact that MSVCR90.DLL is not found is scary. The python installation
normally takes care of this for you (when needed) when you install python.
There is however one scenario where things might go wrong though:

- you do not have the "Microsoft Visual C++ Redistributable" package,
version 9.0.21022.8 (required by python 2.6, 2.7, 3.0, 3.1) installed on
your system
- and you install the python interpreter and select "install for this  
user only"

- and you are testing the above with a different user account than the account
you used to install python.

Another option might be that some "incomplete" .exe.manifest file is
somehow used that points to a different c runtime version causing  
things to fail... py2exe users should be especially careful about  
this...


Fix the msvcr issue first, chances are the other 2 dll files will be solved
at the same time...

mvg,
Dieter


This message was sent using IMP, the Internet Messaging Program.
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] DLL load errors with Py2.6, PyGTK 2.22 and GTK 2.22 bundle

2010-11-28 Thread general
Hi Stephen,

> From: Stephen George 
> 
> MSVCR90.DLL is a requirement for many applications. (built with 
> Microsoft Visual C++)

Yes, I understand this.  My point is that it was not documented on the
PyGTK pages, at least as far as I can see.  I'm just trying to help
improve the docs so others don't hit the same problem.

> See Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
> http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a5c84275-3b97-4ab7-a40d-3802b2af5fc2

I'll try installing this later tonight.

Thanks for the help.

- Paul


___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] DLL load errors with Py2.6, PyGTK 2.22 and GTK 2.22 bundle

2010-11-28 Thread Stephen George

Hi Paul,

MSVCR90.DLL is a requirement for many applications. (built with 
Microsoft Visual C++)


See Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a5c84275-3b97-4ab7-a40d-3802b2af5fc2

I think MSVCR90.DLL is a dependency of pyGTK, your old pyGTK you where 
running probably had a dependency for an old version of the MS C 
Runtime, which would still be installed on your HD somewhere, but just 
not compatible with the new pyGTK.


See if installing the MS runtime above fixes your problem.

Steve


On 29/11/2010 10:47 AM, Paul Goins wrote:

On 11/28/2010 10:41 PM, Dieter Verfaillie wrote:
> Quoting "Paul Goins" :
>> [...]
>> from gtk import _gtk
>> ImportError: DLL load failed: 指定されたプロシージャが見つかりません。
>> (Translation: DLL load failed: The specified procedure could not be 
found.)

>
> Try opening c:\python26\python\site-packages\gtk-2.0\gtk\_gtk.pyd with
> Dependency Walker [1]. It will tell you what .dll file is missing...

Thanks.  It seems I have new dependencies which did not exist with the
previous version.  (I deleted the old versions of gtk/pygtk
completely, so I don't know what version they were, unfortunately.)

Dependency walker image is here:
http://www.vultaire.net/mail_attachments/_gtk.dwi

Basically, I get 3 DLLs missing, and the immediately relevant part of
the dependency walker image looks like this:

  (?)   MSVCR90.DLL
  Error opening file.  指定されたプロシージャが見つかりません。(2)
  Dependency chain: _GTK.PYD/MSVCR90.DLL

  (Hourglass/?) GPSVC.DLL
  Error opening file.  指定されたプロシージャが見つかりません。(2)
  Dependency chain: 
_GTK.PYD/LIBCAIRO-2.DLL/USER32.DLL/ADVAPI32.DLL/WINTRUST.DLL/CRYPT32.DLL/USERENV.DLL/GPSVC.DLL


  (Hourglass/?) IESHIMS.DLL
  Error opening file.  指定されたプロシージャが見つかりません。(2)
  Dependency chain: 
_GTK.PYD/LIBCAIRO-2.DLL/USER32.DLL/ADVAPI32.DLL/WINTRUST.DLL/CRYPT32.DLL/USERENV.DLL/SHELL32.DLL/SHDOCVW.DLL/IEFRAME.DLL/IESHIMS.DLL


Seems at the least there's a Visual Studio dependency in MSVCR90.DLL.
I can grab a copy somewhere of this; not a big deal.  The other stuff
seems like it's only "maybe" required.

Anyway, this wasn't a GTK dependency at all in this case.  Perhaps the
wiki should be updated?

- Paul
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/





___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Re: [pygtk] DLL load errors with Py2.6, PyGTK 2.22 and GTK 2.22 bundle

2010-11-28 Thread Paul Goins

On 11/28/2010 10:41 PM, Dieter Verfaillie wrote:
> Quoting "Paul Goins" :
>> [...]
>> from gtk import _gtk
>> ImportError: DLL load failed: 指定されたプロシージャが見つかりません。
>> (Translation: DLL load failed: The specified procedure could not be found.)
>
> Try opening c:\python26\python\site-packages\gtk-2.0\gtk\_gtk.pyd with
> Dependency Walker [1]. It will tell you what .dll file is missing...

Thanks.  It seems I have new dependencies which did not exist with the
previous version.  (I deleted the old versions of gtk/pygtk
completely, so I don't know what version they were, unfortunately.)

Dependency walker image is here:
http://www.vultaire.net/mail_attachments/_gtk.dwi

Basically, I get 3 DLLs missing, and the immediately relevant part of
the dependency walker image looks like this:

  (?)   MSVCR90.DLL
  Error opening file.  指定されたプロシージャが見つかりません。(2)
  Dependency chain: _GTK.PYD/MSVCR90.DLL

  (Hourglass/?) GPSVC.DLL
  Error opening file.  指定されたプロシージャが見つかりません。(2)
  Dependency chain: 
_GTK.PYD/LIBCAIRO-2.DLL/USER32.DLL/ADVAPI32.DLL/WINTRUST.DLL/CRYPT32.DLL/USERENV.DLL/GPSVC.DLL

  (Hourglass/?) IESHIMS.DLL
  Error opening file.  指定されたプロシージャが見つかりません。(2)
  Dependency chain: 
_GTK.PYD/LIBCAIRO-2.DLL/USER32.DLL/ADVAPI32.DLL/WINTRUST.DLL/CRYPT32.DLL/USERENV.DLL/SHELL32.DLL/SHDOCVW.DLL/IEFRAME.DLL/IESHIMS.DLL

Seems at the least there's a Visual Studio dependency in MSVCR90.DLL.
I can grab a copy somewhere of this; not a big deal.  The other stuff
seems like it's only "maybe" required.

Anyway, this wasn't a GTK dependency at all in this case.  Perhaps the
wiki should be updated?

- Paul
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Re: [pygtk] DLL load errors with Py2.6, PyGTK 2.22 and GTK 2.22 bundle

2010-11-28 Thread Dieter Verfaillie

Quoting "Stephen George" :
Now days most people start GRAMPS with a batch file that puts the  
bin directory of  GTK rutime GRAMPS wants to use on the path in  
front of all others - therefore the path modification is only valid  
for the duration of the session, and isolated to that one process.


I've been using that solution myself for some years now (I no longer
tolerate any package that uses gtk+ to change PATH on my system, so
there's a couple of bat files I use for monodevelop, glade, ...)



Personally I have a lot of problem with GTK applications that ship a  
local copy of GTK putting their copy on the path for all to see.
I don't see that problem with GIMP, .. while they ship a local copy  
of GTK, they don't put themselves on the path, and I think that's a  
model other shipping gtk apps could follow.


Yeah, gimp is one of the few that actually gets it right on windows...

It's no wonder a globally installed gtk runtime, is so problematic  
when it's got to fight with various local gtk installs getting in  
the way.


Yep, changing PATH should never have been advertised as a way to
get software using gtk+ working on windows. It's all great as a trick
used by developers, but in the end it bites users. Hard.

In fact now we are starting to find something has installed some  
DLL's ( i.e. intl.dll, iconv.dll)  to windows\system or  
windows\system32, this causes a major problem as this path gets  
checked BEFORE the path, so even you put your global gtk-runtime  
first on path, it will still find the wrong copy of intl.dll.


I encountered that problem last year. Don't remember what package did
it... As you said, the PATH problem can be handled but system/system32
simply breaks everything...

mvg,
Dieter


This message was sent using IMP, the Internet Messaging Program.
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] DLL load errors with Py2.6, PyGTK 2.22 and GTK 2.22 bundle

2010-11-28 Thread Stephen George

On 29/11/2010 8:18 AM, Dieter Verfaillie wrote:

Quoting "Stephen George" :

I also recommend DependencyWalker for resolving these issues.

GRAMPS is a pygtk program, a lot of our Windows users have been 
facing lot's of "DLL load failed" issues recently , I've just started 
a Wiki page on the GRAMPS wiki talking about this issue.


http://www.gramps-project.org/wiki/index.php?title=ImportError:_DLL_load_failed 



It may be of some help, but I haven't got to the section discussing 
dependency walker usage.


I see gramps lists graphviz as an optional dependency. Beware that
graphviz installs it's own gtk+ runtime (and might add graphviz to
PATH). This could be one reason some of your windows users are having
problems.

If the graphviz directory comes first on PATH (before the gtk+ runtime
version required by pygtk, pygobject and pycairo), the python bindings
will try to load the necessary dll files from an unexpected location,
most likely having and incompatible gtk+ runtime.

Just a thought...

mvg,
Dieter


Hi Dieter,

Thanks for pointing the problem out

Yes, .. we are aware of this, and is part of the reason why the script 
check_gtk_install was created, to try and highlight when people have 
path issues ( whose gtk comes first).
I think most people on a pygtk forum have some sort of developer 
background, .. but our users on GRAMPS come from all walks of life, and 
some are not necessarily technically savvy and have real problem just 
installing the gtk / pygtk stack. If they get that far and then  have 
DLL load failures it all gets too hard for them to diagnose. I think on 
windows we have lost a lot of potential GRAMPS users just because the 
gtk / pygtk stack is too hard for them to install.


Now days most people start GRAMPS with a batch file that puts the bin 
directory of  GTK rutime GRAMPS wants to use on the path in front of all 
others - therefore the path modification is only valid for the duration 
of the session, and isolated to that one process.



Personally I have a lot of problem with GTK applications that ship a 
local copy of GTK putting their copy on the path for all to see.
I don't see that problem with GIMP, .. while they ship a local copy of 
GTK, they don't put themselves on the path, and I think that's a model 
other shipping gtk apps could follow.


It's no wonder a globally installed gtk runtime, is so problematic when 
it's got to fight with various local gtk installs getting in the way.


In fact now we are starting to find something has installed some DLL's ( 
i.e. intl.dll, iconv.dll)  to windows\system or windows\system32, this 
causes a major problem as this path gets checked BEFORE the path, so 
even you put your global gtk-runtime first on path, it will still find 
the wrong copy of intl.dll.



Steve
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] DLL load errors with Py2.6, PyGTK 2.22 and GTK 2.22 bundle

2010-11-28 Thread Dieter Verfaillie

Quoting "Stephen George" :

I also recommend DependencyWalker for resolving these issues.

GRAMPS is a pygtk program, a lot of our Windows users have been  
facing lot's of "DLL load failed" issues recently , I've just  
started a Wiki page on the GRAMPS wiki talking about this issue.


http://www.gramps-project.org/wiki/index.php?title=ImportError:_DLL_load_failed

It may be of some help, but I haven't got to the section discussing  
dependency walker usage.


I see gramps lists graphviz as an optional dependency. Beware that
graphviz installs it's own gtk+ runtime (and might add graphviz to
PATH). This could be one reason some of your windows users are having
problems.

If the graphviz directory comes first on PATH (before the gtk+ runtime
version required by pygtk, pygobject and pycairo), the python bindings
will try to load the necessary dll files from an unexpected location,
most likely having and incompatible gtk+ runtime.

Just a thought...

mvg,
Dieter


This message was sent using IMP, the Internet Messaging Program.
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] DLL load errors with Py2.6, PyGTK 2.22 and GTK 2.22 bundle

2010-11-28 Thread Stephen George


I also recommend DependencyWalker for resolving these issues.

GRAMPS is a pygtk program, a lot of our Windows users have been facing 
lot's of "DLL load failed" issues recently , I've just started a Wiki 
page on the GRAMPS wiki talking about this issue.


http://www.gramps-project.org/wiki/index.php?title=ImportError:_DLL_load_failed

It may be of some help, but I haven't got to the section discussing 
dependency walker usage.


Steve


On 29/11/2010 12:41 AM, Dieter Verfaillie wrote:

Quoting "Paul Goins" :

C:\code\projects\jben>c:\python26\python
Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 
bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more 
information.

>>> import gtk
Traceback (most recent call last):
  File "", line 1, in 
  File "c:\python26\lib\site-packages\gtk-2.0\gtk\__init__.py", 
line 40, in 

from gtk import _gtk
ImportError: DLL load failed: 指定されたプロシージャが見つかりま 
せん。
(Translation: DLL load failed: The specified procedure could not 
be found.)


Try opening c:\python26\python\site-packages\gtk-2.0\gtk\_gtk.pyd with
Dependency Walker [1]. It will tell you what .dll file is missing...

mvg,
Dieter

[1] http://www.dependencywalker.com/


This message was sent using IMP, the Internet Messaging Program.
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/




___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Re: [pygtk] DLL load errors with Py2.6, PyGTK 2.22 and GTK 2.22 bundle

2010-11-28 Thread Dieter Verfaillie

Quoting "Dieter Verfaillie" :

Quoting "Paul Goins" :

   C:\code\projects\jben>c:\python26\python
   Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32  
bit (Intel)] on win32

   Type "help", "copyright", "credits" or "license" for more information.
   >>> import gtk
   Traceback (most recent call last):
 File "", line 1, in 
 File "c:\python26\lib\site-packages\gtk-2.0\gtk\__init__.py",  
line 40, in 

   from gtk import _gtk
   ImportError: DLL load failed: 指定されたプロシージャが見つかりません。
   (Translation: DLL load failed: The specified procedure could not  
be found.)


Another important point: if dependency walker reports a single missing .dll
file (libgio-2.0-0.dll is a likely candidate), you've got a good chance that
a different directory on your PATH contains an older gtk+ runtime.

In that case you should check the properties of one of the other dll files.
Right click LIBGLIB-2.0-0.DLL in the dependency tree and click properties.
Then check the Location field. If it is not C:\gtk_bundle\bin you'll need
to fix your PATH environment variable.

mvg,
Dieter


This message was sent using IMP, the Internet Messaging Program.
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Re: [pygtk] DLL load errors with Py2.6, PyGTK 2.22 and GTK 2.22 bundle

2010-11-28 Thread Dieter Verfaillie

Quoting "Paul Goins" :

C:\code\projects\jben>c:\python26\python
Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32  
bit (Intel)] on win32

Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
Traceback (most recent call last):
  File "", line 1, in 
  File "c:\python26\lib\site-packages\gtk-2.0\gtk\__init__.py",  
line 40, in 

from gtk import _gtk
ImportError: DLL load failed: 指定されたプロシージャが見つかりません。
(Translation: DLL load failed: The specified procedure could not  
be found.)


Try opening c:\python26\python\site-packages\gtk-2.0\gtk\_gtk.pyd with
Dependency Walker [1]. It will tell you what .dll file is missing...

mvg,
Dieter

[1] http://www.dependencywalker.com/


This message was sent using IMP, the Internet Messaging Program.
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

[pygtk] DLL load errors with Py2.6, PyGTK 2.22 and GTK 2.22 bundle

2010-11-28 Thread Paul Goins

Hello,

I recently upgraded my GTK/PyGTK installation due to some missing API
calls.  However, since doing so I now am now unable to run my PyGTK
application.

Running through the testing instructions on the FAQ
(http://faq.pygtk.org/index.py?req=show&file=faq21.001.htp):

C:\code\projects\jben>c:\python26\python
Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit 
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
Traceback (most recent call last):
  File "", line 1, in 
  File "c:\python26\lib\site-packages\gtk-2.0\gtk\__init__.py", line 40, in 

from gtk import _gtk
ImportError: DLL load failed: 指定されたプロシージャが見つかりません。
(Translation: DLL load failed: The specified procedure could not be found.)

As far as I can tell, I'm meeting the specified requirements.  System
details are listed below.

Does anyone have any ideas on how to get this going?  Thanks in
advance.

- Paul Goins

--


System environment
--

OS: Windows 7 64-bit Japanese

Python version: 2.6.4 32-bit (as seen above)

GTK libraries/binaries installed:

11/28/2010  09:43 PM24,333,636 gtk+-bundle_2.22.0-20101016_win32.zip

PyGTK packages installed:

11/28/2010  05:58 PM   875,558 pygtk-2.22.0.win32-py2.6.exe
11/28/2010  05:58 PM   221,101 pycairo-1.8.10.win32-py2.6.exe
11/28/2010  05:58 PM   450,396 pygobject-2.26.0.win32-py2.6.exe



The GTK libs were installed to C:\gtk_bundle, and C:\gtk_bundle was
added to my PATH.  The below command line session shows this was done
correctly:

C:\Users\Vultaire\Downloads>dir c:\gtk_bundle
 ドライブ C のボリューム ラベルは Windows です
 ボリューム シリアル番号は A0E4-0776 です

 c:\gtk_bundle のディレクトリ

11/28/2010  09:44 PM  .
11/28/2010  09:44 PM  ..
11/28/2010  09:44 PM  bin
11/28/2010  09:44 PM  etc
10/16/2010  07:27 PM 1,187 
gtk+-bundle_2.22.0-20101016_win32.README.txt
11/28/2010  09:44 PM  include
11/28/2010  09:44 PM  lib
11/28/2010  09:44 PM  man
11/28/2010  09:44 PM  manifest
11/28/2010  09:44 PM  share
11/28/2010  09:44 PM  src
   1 個のファイル   1,187 バイト
  10 個のディレクトリ  65,878,736,896 バイトの空き領域

C:\Users\Vultaire\Downloads>echo %PATH%
c:\Program Files (x86)\NVIDIA 
Corporation\PhysX\Common;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program
 Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\Program Files 
(x86)\Lua\5.1;C:\Program Files (x86)\Lua\5.1\clibs;C:\gtk_bundle\bin;C:\Program 
Files (x86)\Steel Bank Common Lisp\1.0.37\;C:\Python31;C:\Program Files 
(x86)\GnuWin32\bin
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/