Can't crawl in a ipynb file #1521
-
|
I'm having trouble running a starter script in my ipynb file async def main(): asyncio.run(main()) Task exception was never retrieved
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Heyyy, can you check out this google colab example. In ipynb files you need to import asyncio
import nest_asyncio
nest_asyncio.apply()Hope this helps! |
Beta Was this translation helpful? Give feedback.
Heyyy, can you check out this google colab example. In ipynb files you need to
pip install nest_asyncioand then before you run the code you need to apply nest_asyncio to your script like so:Hope this helps!