-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
parser script not working on Windows #53
Comments
For WSL, see for example https://pbpython.com/wsl-python.html and similar. Using Ubuntu OS in WSL you should be able to reproduce the exact same kind of environment I use, and things should work. |
Also possible to use an Ubuntu Virtualbox. |
Bit late, but you can just remove 'tzset' in windows, then run script through Spyder or equivalent, works for me... |
Thanks for the update @jvoermans . Be careful / be aware though that, if you do not use the tzset, you may have bad surprises about which time zone python may choose for you / be using under the hood... That may result easily in some "corruption" of timestamps by shifting the time value by a few hours when converting stuff back and forth later in your scripts. I think a better option would be that you find how to set up the time zone to utc on windows and continue using tzset, but with a windows compatible backend :) . |
Noted :) |
From user feedback:
"
AttributeError: module 'time' has no attribute 'tzset'.
"
This is a windows vs. linux compatibility issue:
https://stackoverflow.com/questions/1988182/why-my-time-class-has-not-tzset-attribute
To run the decoder, use either a linux system, or run on windows through the WSL - windows subsystem for linux.
I do not have access to a Windows machine, and I will only provide support for linux myself (specifically, Ubuntu distros, 20.04 or newer).
The text was updated successfully, but these errors were encountered: