Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 497 Bytes

faq.md

File metadata and controls

16 lines (12 loc) · 497 Bytes

FAQ

Why do I get RuntimeError: This event loop is already running When running in Jupyter Notebook

This is a popular issue on Jupyter Notebook. The solution:

  • try pip install --upgrade ipykernel ipython which should upgrade the ipykernet to a recent version with issue resolved
  • or add this to your notebook to allow nested asyncio loops
!pip install nest-asyncio
import nest_asyncio
nest_asyncio.apply()