Traceback (most recent call last):


 "/usr/local/bin/twitterscraper", line 11, in <module>

sys.exit(main())


 "/usr/local/lib/python2.7/dist-packages/twitterscraper/main.py", line 105, in main

with open(args.output, "w", encoding="utf-8") as output:
TypeError: 'encoding' is an invalid keyword argument for this function

Traceback (most recent call last):


 "test.py", line 3, in <module>

pd.read_excel('test.xlsx', header=[0, 1], index_col=0, engine='xlrd')


 "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/excel/_base.py", line 334, in read_excel

**kwds,


 "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/excel/_base.py", line 888, in parse

**kwds,


 "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/excel/_base.py", line 512, in parse

**kwds,


 "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/parsers.py", line 2201, in TextParser

return Text
Reader(*args, **kwds)


 "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/parsers.py", line 880, in __init__

self._make_engine(self.engine)


 "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/parsers.py", line 1126, in _make_engine

self._engine = klass(self.f, **self.options)


 "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/parsers.py", line 2298, in __init__

self.columns, self.index_names, self.col_names


 "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/parsers.py", line 1508, in _extract_multi_indexer_columns

for r in header


 "/home/sasha/miniconda3/lib/python3.7/site-packages/pandas/io/parsers.py", line 1508, in <listcomp>

for r in header
TypeError: object of type 'datetime.datetime' has no len()
