简体   繁体   English

如何在python中安装immlib模块?

[英]How to install immlib module in python?

I have Python 2.7 installed on my windows machine. 我在Windows机器上安装了Python 2.7。 I've downloaded and installed Immunity Debugger. 我已经下载并安装了Immunity Debugger。 But when I try to import immlib or immutils module in python, it says no such module. 但是,当我尝试在python中导入immlib或immutils模块时,它说没有这样的模块。 How to install these modules? 如何安装这些模块? Using pip, it says no such repository. 使用pip表示没有这样的存储库。 Please help. 请帮忙。

  • Type "system settings" in the cortana/start bar search box 在Cortana /开始栏搜索框中输入“系统设置”
  • Click "View Advanced System Settings 点击“查看高级系统设置
  • In the Advanced tab in the bottom right corner click "Environment Variables" 在右下角的“高级”选项卡中,单击“环境变量”
  • Create a new variable named "PYTHONPATH" 创建一个名为“ PYTHONPATH”的新变量
  • Add these two directories to the PYTHONPATH variable: 将这两个目录添加到PYTHONPATH变量中:

  • "C:\\Program Files (x86)\\Immunity Inc\\Immunity Debugger" “ C:\\ Program Files(x86)\\ Immunity Inc \\ Immunity Debugger”

  • "C:\\Program Files (x86)\\Immunity Inc\\Immunity Debugger\\Libs" “ C:\\ Program Files(x86)\\ Immunity Inc \\ Immunity Debugger \\ Libs”

It goes with Immunity Debugger. 它与Immunity Debugger一起使用。 Install immunity debugger and your immlib.py will be there. 安装抗扰调试器,您的immlib.py将在那里。

I am a Python and Immunity Debugger newbie, and to make the answer by @ArturKorobeynyk more crystal clear, what I had to do was: 我是Python和Immunity Debugger的新手,为了使@ArturKorobeynyk的答案更加清晰,我必须做的是:

import sys
sys.path.append('C:/Program Files (x86)/Immunity Inc/Immunity Debugger')
sys.path.append('C:/Program Files (x86)/Immunity Inc/Immunity Debugger/Libs')

import immlib

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM