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'
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
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'
Most helpful comment
or try
because that worked for someone in another issue