I am trying to use Tweepy to stream Tweets from a developer API. I want to convert this into an SQLite database file.
However, I am getting an unusual error that links to the Tweepy libraries on my computer. I am using Python 3.6.7 (if that might have something to do with it).
Please let me know if you require more information.
In Windows 10 command line:
Exception in thread Thread-1: Traceback (most recent call last): File "C:\Users\CONFIDENTIAL\AppData\Local\Programs\Python\Python36\lib\threading.py", line 916, in _bootstrap_inner self.run() File "C:\Users\CONFIDENTIAL\AppData\Local\Programs\Python\Python36\lib\threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "C:\Users\CONFIDENTIAL\AppData\Local\Programs\Python\Python36\lib\site-packages\tweepy\streaming.py", line 293, in _run self.listener.on_exception(exception) AttributeError: 'int' object has no attribute 'on_exception'
int; therefore, it obviously does not have the attrributeon_exceptionstream.filter(track=['keyword'], async=True)