It is not clear to me what you are asking. You are getting an error message? Then please show the complete error stack trace (in
You import
(Because in line 34 you call
error
tags).You import
requests
. But does "requests" have a method "get_weather"?(Because in line 34 you call
requests.get_weather()
.)