[Distutils] [Bug] Failed installation. setuptools-0.6c11.win32-py2.6.exe

Andrey Andreev andreev at iki.fi
Tue Dec 15 17:17:26 CET 2009


Hi Rune,

I had a similar issue on Windows Server 2008 R2. You are probably 
running Win 7 (64bit). I ran procmon, and found out that the installer 
is looking for the keys under:

HKEY_LOCAL_MACHINE\Software\Wow6432Node\Python\PythonCore
HKEY_CURRENT_USER\Software\Python\PythonCore

so I modified the register.py discussed above to write to 
HKEY_CURRENT_USER instead of HKEY_LOCAL_MACHINE, which solved the issue.

Cheers,

Andrey



More information about the Distutils-SIG mailing list