You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every time I go to run main.py, it returns a KeyError: 'current' in line 22 of owm.py (curr_weather = data["current"]) which in turn causes issues in line 49 of main.py.
If I leave 'self' in the get_owm_weather and get_weather definitions, it then gives errors for missing a positional argument when running main.py.
I've tried reloading both main.py and owm.py with fresh copies but run also run into a ModuleNotFoundError for owm.owm; 'owm' is not a package.
No clue what's going on except things aren't working per your directions.
The text was updated successfully, but these errors were encountered:
Running on a RaspPi Zero 2...
Every time I go to run main.py, it returns a KeyError: 'current' in line 22 of owm.py (curr_weather = data["current"]) which in turn causes issues in line 49 of main.py.
If I leave 'self' in the get_owm_weather and get_weather definitions, it then gives errors for missing a positional argument when running main.py.
I've tried reloading both main.py and owm.py with fresh copies but run also run into a ModuleNotFoundError for owm.owm; 'owm' is not a package.
No clue what's going on except things aren't working per your directions.
The text was updated successfully, but these errors were encountered: