`Traceback (most recent call last):


 "/private/var/mobile/Containers/Shared/AppGroup/92292B95-D1E2-43B1-BC1C-1324446DF6EB/Pythonista3/Documents/my_scripts/Other/mining demo.py", line 25, in <module>

auth = OAuthHandler(consumer_key, consumer_secret)


 "/private/var/mobile/Containers/Shared/AppGroup/92292B95-D1E2-43B1-BC1C-1324446DF6EB/Pythonista3/Documents/site-packages/tweepy/auth.py", line 49, in __init__

callback_uri=self.callback)
TypeError: 'module' object is not callable`

Traceback (most recent call last):


 "<string>", line 1, in <module>


 "/usr/lib/python3.6/json/__init__.py", line 231, in dumps

return _default_encoder.encode(obj)


 "/usr/lib/python3.6/json/encoder.py", line 199, in encode

chunks = self.iterencode(o, _one_shot=True)


 "/usr/lib/python3.6/json/encoder.py", line 257, in iterencode

return _iterencode(o, 0)


 "/usr/lib/python3.6/json/encoder.py", line 180, in default

o.__class__.__name__)
TypeError: Object of type 'PipelineParam' is not JSON serializable
