question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ModuleNotFoundError

See original GitHub issue

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'

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
sdushanthacommented, Jul 14, 2019

or try

python3 -m pip install -r requirements.txt

because that worked for someone in another issue

1reaction
sdushanthacommented, Jul 16, 2019

@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
Read more comments on GitHub >

github_iconTop Results From Across the Web

ModuleNotFoundError: no module named Python Error [Fixed]
How to fix the ModuleNotFoundError in Python · 1. Make sure imported modules are installed · 2. Make sure modules are spelled correctly...
Read more >
How to Fix ModuleNotFoundError and ImportError
first make sure you are using absolute imports · export the project's root directory to PYTHONPATH.
Read more >
python - 'ModuleNotFoundError' when trying to import module ...
manModules import * ModuleNotFoundError: No module named 'Soft' $ PYTHONPATH=$PYTHONPATH:/temp/man/MansTest/SoftLib $ export PYTHONPATH ...
Read more >
How To Solve ModuleNotFoundError: No module named in ...
The first reason for ModuleNotFoundError: No module named is the module name is incorrect. For example, let's try to import the os module ......
Read more >
Python Import Error (ModuleNotFoundError) - Finxter
Python's ImportError ( ModuleNotFoundError ) indicates that you tried to import a module that Python doesn't find. It can usually be eliminated by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found