How to Solve NameError: name 'Response' is not defined -- requests
Solution: Import the 'Response' module
To Solve the error, add the following line to the top of your code.
from requests.models import Response
For more information:
Python requests Response