droopescan ModuleNotFoundError: No module named 'cement'

Traceback (most recent call last):

  File "./droopescan", line 3, in <module>

    from dscan import droopescan

  File "/opt/droopescan/dscan/droopescan.py", line 4, in <module>

    from cement.core import backend, foundation, controller, handler

ImportError: No module named cement.core

kali@kali:/opt/droopescan$ sudo pip3 install -r requirements.txt 

[sudo] password for kali: 

Looking in indexes: https://pypi.python.org/simple/

Obtaining file:///opt/droopescan (from -r requirements.txt (line 3))

Collecting cement<2.6.99,>=2.6

  Downloading cement-2.6.2.tar.gz (140 kB)

     |████████████████████████████████| 140 kB 2.7 MB/s 

Collecting futures

  Downloading futures-3.1.1-py3-none-any.whl (2.8 kB)

Collecting pystache

  Downloading pystache-0.5.4.tar.gz (75 kB)

     |████████████████████████████████| 75 kB 536 kB/s 

Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from droopescan==1.42.0->-r requirements.txt (line 3)) (2.23.0)

Building wheels for collected packages: cement, pystache

  Building wheel for cement (setup.py) ... done

  Created wheel for cement: filename=cement-2.6.2-py3-none-any.whl size=81075 sha256=d2626cf569765f2ca2287cc8f6a785bc8ad54d0019b9918284fcc31810745fc6

  Stored in directory: /root/.cache/pip/wheels/4f/5d/82/abbe29539ebb184bfe20f849f1b6267f85ba5fd601f1efaee7

  Building wheel for pystache (setup.py) ... done

  Created wheel for pystache: filename=pystache-0.5.4-py3-none-any.whl size=82928 sha256=993f02ede34c6b06419c6526b59fcbf13b9e8477a042ab3d5b1950d1e14ea3e2

  Stored in directory: /root/.cache/pip/wheels/15/0b/63/b400637eb98976fa7802c507af4f3ced7420c7ebbc191f1eb5

Successfully built cement pystache

Installing collected packages: cement, futures, pystache, droopescan

  Attempting uninstall: droopescan

    Found existing installation: droopescan 1.42.0

    Uninstalling droopescan-1.42.0:

      Successfully uninstalled droopescan-1.42.0

  Running setup.py develop for droopescan

Successfully installed cement-2.6.2 droopescan futures-3.1.1 pystache-0.5.4


1 comment:

  1. you should try adding .py to droopescan and executing using python3. I had the same problem, i hope you can use the same solution.
    python3 droopescan.py scan --help