yankeexe / timezones-cli

CLI toolkit for timezones :earth_asia:
https://pypi.org/project/timezones-cli/
MIT License
73 stars 8 forks source link

Missing zoneinfo module #9

Closed zach-is-my-name closed 2 years ago

zach-is-my-name commented 2 years ago

$ tz search "london"

Traceback (most recent call last):
  File "/home/zmg/.local/bin/tz", line 5, in <module>
    from timezones_cli.main import cli
  File "/home/zmg/.local/lib/python3.8/site-packages/timezones_cli/main.py", line 4, in <module>
    from timezones_cli.commands import add, get, remove, search, select, show, utc
  File "/home/zmg/.local/lib/python3.8/site-packages/timezones_cli/commands/__init__.py", line 6, in <module>
    from timezones_cli.commands.get import get
  File "/home/zmg/.local/lib/python3.8/site-packages/timezones_cli/commands/get.py", line 3, in <module>
    from zoneinfo import ZoneInfo, available_timezones
ModuleNotFoundError: No module named 'zoneinfo'
yankeexe commented 2 years ago

@zach-is-my-name thank you for highlighting the issue. Please update to the latest version for resolution.

pip install --upgrade timezones-cli