ModuleNotFoundError: No module named ‘requests’ Python Exception

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.

Leave a Reply