Quoting "Paul Malherbe" <[email protected]>:
Hi
You might have to run the all-in-one installer as the administrator.
Yes, that might be the case. Also make sure you have a 32-bit Python
version installed. The All-in-one installer is not compatible with
64-bit Python versions (that would also explain why the TARGETDIR
property was not set).
On 24/05/11 12:37, Vic Watson wrote:
Now for the difficulty: I’ve deployed the app on numerous WinXP
machines, and all is well. But one of my users is trying to install
onto a Vista machine, and he’s having trouble with the all-in-one
PyGtk installer. On running it, he gets an error something like
“TARGETDIR property is not set”.
The TARGETDIR property defaults to Python's installation directory.
The installation directory for Python 2.7 is discovered by looking at
the following registry keys (behavior copied from .msi files generated
by Python distutils' bdist_msi):
- HKLM\SOFTWARE\Python\PythonCore\2.7\InstallPath
for an machine wide/"all users" installation; or
- HKCU\SOFTWARE\Python\PythonCore\2.7\InstallPath
for a per user installation
If none of those is found, no compatible Python version is installed
or it is located in the registry hive of another user account (in the
case of a per user installation).
So, it is important that the all-in-one installer (or any other Python
package distributed as a .msi file) is executed with the exact same user
account that was used to install Python. Especially in the case of a
"per user" installation.
If after that, installation still fails, read the "Getting help" section
in the README file [1] and send me a compressed copy of the installation log,
either by mail or upload it somewhere. I'll be glad to have a look.
But do not try to post the file on this mailing list, it's going to be
huge and would be rejected by mailman.
mvg,
Dieter
[1]
http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.24/pygtk-all-in-one.README
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/