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'