win8上,已经安装python27,但是在安装distorm的时候,却显示没有安装python27.
然后,我通过直接修改注册表的方法,把这个问题解决掉了。
1、win+r,输入regedit;
2、
How to install SetupTools on 64-bit Windows?
Solution:
Apparently (having faced related 64- and 32-bit issues on OS X) there is a bug in the Windows installer. I stumbled across this workaround, which might help - basically, you create your own registry value:
HKEY_LOCAL_MACHINE/SOFTWARE/Wow6432Node/Python/PythonCore/2.7/InstallPath
and copy over the InstallPath value from:
HKEY_LOCAL_MACHINE/SOFTWARE/Python/PythonCore/2.7/InstallPath
完毕。