Hi;

I think this is one of the things which Windows doesn't rely to, an RPATH
feature or something other in the dll.

Test:
Open a command window. Go to the directory where the gtk-dll's are and start
your test.py. If this run without errors there are 2 solutions. Otherwise
you have another problem.

There are 2 solutions.
First, expand your path in your environment with the dirpath of your
gtk-environment.

Or, my favorite solution:
Open Regedit, step to HKLM\Software\Microsoft\Windows\CurrentVersion\App
Paths\Python.exe, create a new string "Path" and set the value to the
location where you installed the gtk-environment.
As I share the gtk for gimp2.0 with pygtk I set
"%COMMONPROGRAMFILES%\Gtk\2.0\bin". The Dropline installations is in "lib",
so it should look like "%COMMONPROGRAMFILES%\Gtk\2.0\lib". Close Regedit. If
you have an open command window close this an open a new one. Changes in the
registry are not propagated to current sessions.

Tested on Windows 2K/XP.
If you have installed the win32-packages and made Pythonwin your default
editor, you should create this value there to.

--maik./

mit freundlichem Gru� /
with best regards

Maik Hertha
--------------------------------------------
hartmann+hertha
it design


[EMAIL PROTECTED]
http://www.hartmann-hertha.de
--------------------------------------------


_______________________________________________
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