i am using jupyter notebook to run, but i got the following error please fix
RuntimeError Traceback (most recent call last)
4 c.Username = "twitter"
5
----> 6 twint.run.Lookup(c)
2 frames
/usr/lib/python3.6/asyncio/base_events.py in run_forever(self)
423 self._check_closed()
424 if self.is_running():
--> 425 raise RuntimeError('This event loop is already running')
426 if events._get_running_loop() is not None:
427 raise RuntimeError(
RuntimeError: This event loop is already running
Hi I had the same problem today, but found out how to fix it:
pip install nest_asyncio
import nest_asyncio
nest_asyncio.apply()
After that, it ran smoothly to me.
I found out about the solution on the following blog post
Good luck!
Most helpful comment
Hi I had the same problem today, but found out how to fix it:
pip install nest_asyncioimport nest_asyncionest_asyncio.apply()After that, it ran smoothly to me.
I found out about the solution on the following blog post
Good luck!