Skip to content

ModuleNotFoundError: No module named 'imp' when installing with pip #77

@pepal00

Description

@pepal00

Hello,
I installed droopescan with pip inside a venv. When tried to run it I get the error ModuleNotFoundError: No module named 'imp'. I tried to install pystache==0.5.4 as recommended in this comment issue #72 but that installation errors with

      Warning: 'classifiers' should be a list, got type 'tuple'
      error in pystache setup command: use_2to3 is invalid.

Digging a bit on that, it seems like Python 3.12 has removed support for the imp library, so I think the module will need replaced with importlib?

  • OS & installation method
    Kali 6.11.2-1kali1 (2024-10-15) rolling, installed via pip
    Python 3.12.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions