ubuntu jammy jellyfish 更新时出现 Binwalk 错误

ubuntu jammy jellyfish 更新时出现 Binwalk 错误

安装后。我运行命令binwalk并显示以下错误。

Traceback (most recent call last):
  File "/usr/local/bin/binwalk", line 4, in <module>
    __import__('pkg_resources').run_script('binwalk==2.3.3', 'binwalk')
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 656, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1453, in run_script
    exec(code, namespace, namespace)
  File "/usr/local/lib/python3.10/dist-packages/binwalk-2.3.3-py3.10.egg/EGG-INFO/scripts/binwalk", line 2, in <module>
    from binwalk.__main__ import main
ModuleNotFoundError: No module named 'binwalk.__main__'

相关内容