0x01问题原因
ida官网有对该问题的解释:
This issue is usually caused by presence of non-standard python27.dll
in the PATH which uses its own set of modules (you should edit PATH in
this case). However, it may happen if your Python installation is
broken in some way. Reinstalling Python manually may fix it.
翻译:你主机的环境变量path包含了非标准的python27.dll导致的,当然,也可能是某次安装时意外终端导致的。手动重新安装python可能会修复这个问题。
0x02问题修复
- 官方也好心的给出了详细的修复方法:
查看python27.dll的位置
c:\>where python27.dll
C:\Windows\System32\python27.dll
- 查看注册表中
HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.7\InstallPath
的值是python2.7的安装路径 - 增加一个环境变量,key为PYTHONHOME,value为python的安装路径。