Python version 2.6 required, which was not found in the registry
Can't download any python Windows modules and install. I wanted to experiment with scrapy framework and stackless but unable to install due to error "Python version 2.6 required, which was not found in the registry".
Trying to install it to
Windows 7, 64 bit machine
I realize this question is a year old - but I thought I would contribute one additional bit of info in case anyone else is Googling for this answer.
The issue only crops up on Win7 64-bit when you install Python "for all users". If you install it "for just me", you should not receive these errors. It seems that a lot of installers only look under HKEY_CURRENT_USER for the required registry settings, and not under HKEY_LOCAL_MACHINE. The page linked by APC gives details on how to manually copy the settings to HKEY_CURRENT_USER.
Or here's the PowerShell command to do this: cp -rec HKLM:\SOFTWARE\Python\ HKCU:\SOFTWARE
Warning for new viewers: this answer is now several years old (the clue is that it describes Windows 7 as "new"). By now (2014) most Python libraries should have 64-bit support. However, if you still have problems you can always take the advice of @KamilSzot and install 32-bit Python instead. In most cases it probably doesn't matter that much.
[In 2010] it appears there are a lot of Python utilities which don't work on 64-bit Windows 7, as it's still a very new platform. So you may frequently find yourself on the cutting edge, which is not a comfortable place for someone who describes themselves as a beginner.
For instance, Valentine Gogichashvili discusses a potential solution here but do you know enough Python to understand what it's doing?
For me this happens on a 32 bit system with activepython installed. It seams that the regs are not in HKEY_CURRENT_USER so here is what I do to fix that.
- Export the "Python" section under HKEY_LOCAL_MACHINE -> Software
- Open the export in notepad notepad. Replace "LOCAL_MACHINE" with "CURRENT_USER"
- Since I have 2.7 installed I also had to replace "2.7" with "2.6" (make sure that you do not affect the path which points to the installation of python).
- Over write the reg backup and run it.
Now if you run the installation of whatever package you needed it will find python. This helped in my case but be aware that it might not work for you.