Charles Sisson
Charles Sisson

Reputation: 21

Add Python 2.7.6 to the windows registry

I've installed Python 2.7.6 onto my Windows 7 32bit system, but it does not seem to have added it to the registry.

When I tried installing py2exe (a version appropriate for 2.7.6 on 32bit) it keeps saying I need Python 2.7 which was not found in the registry.

Could anyone provide me with a list of the registry items that need to be in place or have a simple app that modifies the registry to that I can install py2exe?

Upvotes: 1

Views: 7943

Answers (3)

user6775066
user6775066

Reputation: 41

Installing py2exe (py2exe-0.6.9.win32-py2.7.exe) requires:

reg add HKLM\SOFTWARE\Wow6432Node\Python\PythonCore\2.7\InstallPath /ve /t REG_SZ /d "C:\Python27" /f

Tested on Windows 10.

Regards LO

Upvotes: 4

Charles Sisson
Charles Sisson

Reputation: 21

Turns out WinPython has a menu option in the Control Console for adding Python packages that not only registers python for redistribution, but also registers it in the Windows Registry. Once I ran that menu option the install went ahead just fine. Why WinPython doesn't add itself during installation I'll never know. A caution to others, don't assume any installation does it all, you may still need to run a registry app.

Upvotes: 0

Kirill Shalnov
Kirill Shalnov

Reputation: 2216

I think, you should to add python dir path to system variables

Look this post

Upvotes: 0

Related Questions