File: FAQ.md

package info (click to toggle)
vit 2.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,012 kB
  • sloc: python: 5,028; sh: 103; makefile: 4
file content (20 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Frequently asked questions

### How do I fix UnknownTimeZoneError in Windows Subsystem for Linux?

If you're running VIT in
[Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/about)
and getting errors like the following:

```sh
  pytz.exceptions.UnknownTimeZoneError: 'local'
```

You'll need to properly set the ```TZ``` environment variable to your
[local time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), e.g.:

```sh
  export TZ="America/New_York"
```

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