pytz.exceptions.UnknownTimeZoneError when loading pytz with zipimport in Python
Have you tried tzlocal? From what i read Here, pytz will give an unknown timezone error for a a few reasons. - If you dont give it a timezone name, or if the timezone name you give it, depending on your operating system, isn't be the same as the timezone names pytz uses. Using tzlocal to retrieve your local timezone as a tzinfo object, to use with pytz as normal, should let you continue with your project.
As shown in the link i've placed above, you can do this by
from tzlocal import get_localzone
tz = get_localzone()
I dont claim to be an expert, just doing some research of my own to try to help out a fellow in need. Hope this helps you.