Whose Error Is It?

Python printed this

ModuleNotFoundError: No module named 'requests'
What it meansPython could not find the third party requests package in the interpreter that is running your script, so the import fails.
The first thing to checkRun python -m pip install requests using the same interpreter, and confirm your virtualenv is activated so pip and python point to the same environment.

More from Python

All 75 errors

Whose Error Is It? · Status Menu · Back to the bar