Last modified: Jul 02, 2023 By Alexander Williams

how to solve No module named requests in python

Request is a library so to solve this problem you must install the library

installing requests library

 pip install requests

or

 pip3 install requests

if you have already installed the requests library try to uninstall it and install it again

 pip uninstall requests

or

 pip3 uninstall requests