google-data-analyses
google-data-analyses copied to clipboard
AttributeError: 'datetime.datetime' object has no attribute 'timestamp'
Hello,
New to python and haven't been able to figure this out.
running python 2.7.18 in windows 10 command prompt.
I put the latest error in the title, AttributeError: 'datetime.datetime' object has no attribute 'timestamp' .
but prior to that, I was getting, Traceback (most recent call last):
File "C:\google-data-analyses-master\get_visit_times.py", line 87, in
C:\google-data-analyses-master>get_visit_times.py
Loading 'C:\google-data-analyses-master\Location History.json' ...
JSON file loaded
Extracting relevant data...
Total number of points: 4171876
Traceback (most recent call last):
File "C:\google-data-analyses-master\get_visit_times.py", line 95, in
Hi ! You need to run the script with Python 3 instead of Python 2 ;)