Not able to install setuptools even though python 2.7 is installed


Contribution link :

Problem :

I’m running Python 2.7 on Windows 7 64-bit, and when I run the installer for setuptools it tells me that Python 2.7 is not installed. The specific error message is: Python Version 2.7 required which was not found in the registry

Solution :

… when I ran the setuptools installer I would get an error message saying something like “Python2.7 was not found in the registry”. If you’ve had similar issues, here’s what fixed the problem for me.

1. Install python 2.7.3 in the default directory

2. Open regedit.exe (if you type “regedit” into start menu it will show up)

3. In regedit navigate to the python folder. (First open HTKE_LOCAL_MACHINE, then SOFTWARE, then  PYTHON)

4. With the Python folder scelected, go to File>Export, make sure the export range is set to ‘Scelected Branch’ and in  the text box below it says “HKEY_LOCAL_MACHINE\SOFTWARE\Python”, Save the file in your documents folder (or wherever you like), you can name it whatever you want

5. Find the file, right click on it and say “open with…” then choose to open it with notepad.

6. In notepad, you should see that every line begins with “[HKEY_LOCAL_MACHINE\SOFTWARE\Python”, wherever you see this, add the folder “\Wow6432Node” in between SOFTWARE and Python so that every line now starts with: 


7. Save the file and then open it again with regedit, you should get a message saying it was sucessfully added to the registry

8. Now the SetupTools installer should work properly and you can follow instructions on from there


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s