- yliu on February 11, 2010, 05:02 AM UTC
As far as I can tell, InstallPath is the only value that this installer looks for. Therefore, using regedit, you can create your own registry value HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.6\InstallPath, and copy over the InstallPath value from HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\InstallPath. To be paranoid, you can try replicating the entire cluster, not just InstallPath.
After this, installation for setuptools seems to proceed correctly. Note that this may only install 32-bit libraries -- WoW6432 is a compatibility layer. Check the other documented solution to this problem if this is not sufficient.
Hopefully they'll fix this bug at some point, though the "not my problem" bug punting so far at the Python tracker and the Setuptools tracker makes this look somewhat unlikely.
( http://bugs.python.org/setuptools/issue2 ) - found by yliu on February 11, 2010, 04:56 AM UTC
This is the right solution; to make life easier I follow this expanded version of the "replicating the entire cluster" solution:
Step 1: Launch regedit.exe and locate the key "HKEY_LOCAL_MACHINE\SOFTWARE\Python".
Step 2: With this branch selected, go to the File menu and select Export. Confirm that the "Export range" radio button is set to "Selected branch". Navigate to the directory in which to store your export, provide a File name (I used 'Python') and click "Save".
Step 3: Open the export file in your favorite editor, and insert the "Wow6432Node" folder between "SOFTWARE" and "Python" so each line begins "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python". Save the changes.
Step 4: Double-click on the modified export file and Merge this registry data.
Thank you so much! That was so easy.—
Thanks a billion, I was clueless why it wasn't working before. Your solution is easy and works perfectly.—
Thanks a heap! Works great.—
Thank you Stuart!—
I had tried many other solutions, none of which worked until I found yours.
Very much appreciate your input!
Awesone!! Also thanks to the first post about replicating a cluster.—
solved my problem for installing ipython.
Thanks a lot—
thanks so much! to repeat everyone else, you are the best stu—
This worked when I had problems installing PIL. Thanks a lot!—
OOOOoooohhh!! Stuart Lathrop Merciiiiiiiiii Merciiiiiiiiiiiiiiiiiii :D—
Thanks for this step by step help. it worked.. :)—
muchas gracias! funciona perfectamente ahora—
no podia instalar la PIL (Python Image Library) la cual es necesaria para usar el modulo Image... un verdadero dolor de cabeza para windows en 64 bits
Stuart is a true hero! :)—
Thanks so much!—
that HELPED, thanx alot :)—
Thanks a lot!—
thank you very much!—
Great!!! I would never get there alone :P—
Thanks a lot. Your suggestion saved my weekend from getting spoiled :)—
Perfect solution. Thanks a lot!—