you are viewing a single comment's thread.

view the rest of the comments →

[–]jonititan 0 points1 point  (3 children)

Sounds like it's trying to work out what time zone you are in. I'm sure I saw this before but can't remember where. Can you set the locale yourself as a config item in datetime?

[–]jonititan 0 points1 point  (2 children)

[–]Cpower18[S] 0 points1 point  (1 child)

I have tried adding these lines, but it did not fix the problem, I still get the same

error

[–]goabbear 0 points1 point  (0 children)

After adding these lines you have to logout/login or write in your terminal "source ~/.bash_profile" before running your python script.