使用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.

相关文章:

  • 2021-04-17
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-23
  • 2022-01-04
猜你喜欢
  • 2022-12-23
  • 2022-01-06
  • 2022-01-06
  • 2021-12-12
  • 2022-12-23
  • 2022-01-01
  • 2022-01-08
相关资源
相似解决方案