Frequently asked questions

July 22, 2019 ยท View on GitHub

How do I fix UnknownTimeZoneError in Windows Subsystem for Linux?

If you're running VIT in Windows Subsystem for Linux and getting errors like the following:

  pytz.exceptions.UnknownTimeZoneError: 'local'

You'll need to properly set the TZ environment variable to your local time zone, e.g.:

  export TZ="America/New_York"

It's recommended to add this to one of your shell's startup scripts.