无法在python ubuntu 16.04中导入androguard

2024-06-16 08:58:56 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经用(apt install androguard)在我的ubuntu16.04lts操作系统中安装了最新的androguard。我可以使用“androlyze-s”命令进入shell。但是我不能将androguard导入到python代码中。例如,当我运行测试.py文件使用“python测试.py“来自终端I的命令出错:

Traceback (most recent call last):
File "test.py", line 1, in <module>
from androguard.core.bytecodes import apk
ImportError: No module named androguard.core.bytecodes

下面是我的python代码:

^{pr2}$

Tags: install文件代码pycore命令终端apt