Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Error when trying to run TWINT #1424

Open
Mobey-eth opened this issue May 20, 2022 · 1 comment
Open

Error when trying to run TWINT #1424

Mobey-eth opened this issue May 20, 2022 · 1 comment

Comments

@Mobey-eth
Copy link

This line of code
twint.run.Search(c) doesn't run, here's my Traceback


RuntimeError Traceback (most recent call last)
in ()
7 c.Translate = True
8 c.TranslateDest = "it"
----> 9 twint.run.Search(c)

3 frames
/usr/lib/python3.7/asyncio/base_events.py in _check_runnung(self)
521 def _check_runnung(self):
522 if self.is_running():
--> 523 raise RuntimeError('This event loop is already running')
524 if events._get_running_loop() is not None:
525 raise RuntimeError(

RuntimeError: This event loop is already running

Environment Details

Running on Colab

@abhalawat
Copy link

import nest_asyncio
nest_asyncio.apply()

Try this before twins.run.Search

This worked for me

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants