idapython import 'site' failed

Posted 雲霏霏

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了idapython import 'site' failed相关的知识,希望对你有一定的参考价值。

打开IDA出现这个错误提示,问题根源是IDA找不到python,安装2.7版本的python并设置%PYTHONHOME%变量为python安装目录就可以了

如果已经安装了python可以在命令行下用echo %PYTHONHOME%看看配置有没有问题!

添加系统环境变量PYTHONHOME,本地python目录,如:D:\Program Files\Python27

以上是关于idapython import 'site' failed的主要内容,如果未能解决你的问题,请参考以下文章

IDAPython学习

IDAPython安装

IDApython 命令

[ida]使用pycharm编写IDApython

idapython api 记录

使用 IDA Pro 和 IDAPython 获取 CPP 对象的值