Sherlock: ModuleNotFoundError

Created on 14 Jul 2019  路  9Comments  路  Source: sherlock-project/sherlock

Running on termux and I cannot find what is wrong... It just says:

File "sherlock.py", line 21, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'
question

Most helpful comment

or try

python3 -m pip install -r requirements.txt

because that worked for someone in another issue

All 9 comments

Did you install the required module in requirements.txt?
requirements.txt

@owlsoul0
You need to install all the modules needed for Sherlock.
Just run:

pip3 install -r requirements.txt

or try

python3 -m pip install -r requirements.txt

because that worked for someone in another issue

I have exactly the same problem on a Raspberry Pi 3B+ with Python 3.7.0 installed.
python3 -m pip install -r requirements.txt did'nt work for me. pip3 install -r requirements.txt installed the requirements but the error ModuleNotFoundError: No module named 'requests' is still there. So what should we do? Is it possible to install the modules manually?

@owlsoul0 @luger19
The problem might be that you have a version of requests which is not compatible with Sherlock.
We might need to specify the version in the requirements.txt.

For now, try this:

python3 -m pip install requests --upgrade

I figured it out: sudo pip install requests --upgrade worked. I did this with some other modules too (colorama, requests_future and torrequest) and now everything works fine!

@luger19 Just a tip, never install python modules with sudo.
Here is why, https://askubuntu.com/a/802594

Also, I have broken my python before because I used sudo.

I tried all of this (thanks for replying), but nothing worked. I think there's something wrong with my termux. I installed sherlock on my Windows and it works properly. Although I wanted to have it on my phone, I am happy with it working.

python3 sherlock.py
Traceback (most recent call last): File "sherlock.py", line 24, in
from requests_futures.sessions import FuturesSession ModuleNotFoundError: No module named 'requests_futures'

Was this page helpful?
0 / 5 - 0 ratings

Related issues

manishyadav1400 picture manishyadav1400  路  7Comments

ptalmeida picture ptalmeida  路  4Comments

x0rzkov picture x0rzkov  路  5Comments

senthilnayagam picture senthilnayagam  路  4Comments

PythonB picture PythonB  路  7Comments