Answer the question
In order to leave comments, you need to log in
AttributeError: 'str' object has no attribute 'weather_manager' how to fix?
from pyowm import OWM
owm = OWM ('9973e6a53b426c134abbe4abbceceaca' , language = 'ru' )
plac = input('В каком городе/стране?')
mgr = owm.weather_manager()
observation = mgr.weather_at_place(plac)
w = observation.weather
print(w)
Traceback (most recent call last):
File "ww.py", line 8, in <module>
mgr = owm.weather_manager()
AttributeError: 'str' object has no attribute 'weather_manager'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question