反汇编工具capstone安装后import error

使用sudo pip install capstone后,使用如下代码import时出现error。

from capstone import *

错误信息:

File "/usr/local/lib/python2.7/dist-packages/capstone/capstone.py", line 162, in <module>
    raise ImportError("ERROR: fail to load the dynamic library.")
ImportError: ERROR: fail to load the dynamic library.

此时,应该是capstone的版本问题。只需要使用如下命令重新安装即可。
sudo pip install -U capstone

done.

posted on 2016-04-23 14:56  rainduck  阅读(1297)  评论(0编辑  收藏  举报

导航