Picroft, RPI4, Google Voice HAT.
If I ask the weather, I get the message MyCroft can’t currently reach the weather report.
In the terminal (with SSH) I can see:
~~~~ERROR | 737 | mycroft.skills.event_scheduler:on_error:331 | An error occured executing the scheduled event AttributeError("module 'pytz' has no attribute 'all_timezones'")
Traceback (most recent call last):
File "/home/pi/mycroft-core/mycroft/skills/mycroft_skill/event_container.py", line 109, in wrapper
handler(message)
File "/opt/mycroft/skills/mycroft-date-time.mycroftai/__init__.py", line 349, in update_display
self.gui['time_string'] = self.get_display_current_time()
File "/opt/mycroft/skills/mycroft-date-time.mycroftai/__init__.py", line 243, in get_display_current_time
dt = self.get_local_datetime(location, dtUTC)
File "/opt/mycroft/skills/mycroft-date-time.mycroftai/__init__.py", line 223, in get_local_datetime
tz = self.get_timezone(self.location_timezone)
File "/opt/mycroft/skills/mycroft-date-time.mycroftai/__init__.py", line 209, in get_timezone
timezone = self._get_timezone_from_fuzzymatch(locale)
File "/opt/mycroft/skills/mycroft-date-time.mycroftai/__init__.py", line 166, in _get_timezone_from_fuzzymatch
for name in pytz.all_timezones:
AttributeError: module 'pytz' has no attribute 'all_timezones'
Which is repeated several times. When I ask the location, MyCroft correctly tells me Brussels, Belgium.
How can I fix this?