Wednesday, April 26, 2023

ModuleNotFoundError: No module named 'requests' Python Exception

Exception:
ModuleNotFoundError: No module named ‘requests’

Resolution:
requests module should be installed before using it. So, use the following command to install it.

py -m pip install requests

Note:
The above command was for Windows OS. I used Python 3.11.2 version.

No comments:

Post a Comment

How to change Cursor Color Theme?

Effortless Customization: A Step-by-Step Guide to Changing Your Cursor Color Theme Are you tired of the same old cursor on your screen? Do y...