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
完畢。