Python Registry Hack

You know those nifty installers for Python packages? The ones that target a specific version, but sometimes you don't have that one in your Windows registry?

Well, I've discovered a hack to work around that.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Python]

[HKEY_CURRENT_USER\Software\Python\Pythoncore]

[HKEY_CURRENT_USER\Software\Python\Pythoncore\3.3]

[HKEY_CURRENT_USER\Software\Python\Pythoncore\3.3\InstallPath]
@="C:\\Python34"

[HKEY_CURRENT_USER\Software\Python\Pythoncore\3.3\PythonPath]
    @="C:\\Python34;C:\\Python34\\Lib\\;C:\\Python34\\DLLs\\"

Basically you're lying to the Windows Registry and telling it that yeaaaah, Python3.3 is installed (nudge nudge, wink wink) and it lives at C:\Python34, nods as good as a word, know what I mean?

(Fair warning, this could break things. It is a hack, after all. Beware the old man from scene 24)

links

social