A3M4 / YouTube-Report

:bar_chart: Generate a personal YouTube report from your Google Takeout data
MIT License
643 stars 61 forks source link

TypeError: 'encoding' is an invalid keyword argument for this function #24

Closed aabacchus closed 4 years ago

aabacchus commented 4 years ago

Traceback (most recent call last): File "report.py", line 8, in from parse import * File "\~/YouTube-Report/parse.py", line 17, in class HTML: File "\~/YouTube-Report/parse.py", line 19, in HTML htmlWatch = open(watchHistory, 'r', encoding='utf-8').read() TypeError: 'encoding' is an invalid keyword argument for this function

aabacchus commented 4 years ago

Forget that, my command was "python report.py" it should be "python3 report.py"

aabacchus commented 4 years ago

A few of these issues would be solved by using pip3 and python3, maybe change the readme?