You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "octoprice_main_inky.py", line 33, in
the_now = datetime.datetime.now(datetime.timezone.utc)
AttributeError: 'module' object has no attribute 'timezone'
I believe python installed correctly
The text was updated successfully, but these errors were encountered:
Off the top of my head I think this is because you're running python 2 instead of python 3.
If you have python3 installed then try python3 instead of python at the command line (eg "python3 octoprice_main_inky.py")
Hi all I seem to have an issue running the code:
Traceback (most recent call last):
File "octoprice_main_inky.py", line 33, in
the_now = datetime.datetime.now(datetime.timezone.utc)
AttributeError: 'module' object has no attribute 'timezone'
I believe python installed correctly
The text was updated successfully, but these errors were encountered: