Traceback (most recent call last):
File "examples/score_texts_emojis.py", line 71, in <module>
'Pct_1', 'Pct_2', 'Pct_3', 'Pct_4', 'Pct_5'])
TypeError: a bytes-like object is required, not 'str'
And fix for python 2:
Traceback (most recent call last):
File "examples/score_texts_emojis.py", line 68, in <module>
writer = csv.writer(csvfile, delimiter=',', lineterminator='\n')
TypeError: "delimiter" must be string, not unicode
Fix for
python 3
:And fix for
python 2
: