I have installed twint with:
git clone --depth=1 https://github.com/twintproject/twint.git
cd twint
pip3 install . -r requirements.txt
which resulted in a successful installation :
Successfully installed twint-2.1.21
It works to get tweets from twitter using Command Prompt, (cmd.exe), commands, but when I try to run the example in jupyter notebook it gives me the error:
AttributeError Traceback (most recent call last)
<ipython-input-6-f48dbefa5025> in <module>
1 # Configure
----> 2 c = twint.Config()
3 c.Search = "wfh"
4
5 # Run
AttributeError: module 'twint' has no attribute 'Config'
Here is my code:
import twint
# Configure
c = twint.Config()
c.Search = "wfh"
# Run
twint.run.Search(c)