Home > Mobile >  VS Code using Jupyter: Connecting to kernel: Python 3.6.9: Waiting for Jupyter Session to be idle
VS Code using Jupyter: Connecting to kernel: Python 3.6.9: Waiting for Jupyter Session to be idle

Time:03-20

I am having trouble running my import statement in VS code Jupyter. I split them into individual cells. I find when I run

import numpy as np

the cell hangs and I get a message

Connecting to kernel: Python 3.6.9: Waiting for Jupyter Session to be idle

How do I fix this?

CodePudding user response:

This may be related to the extended version. I hope this article is helpful to you.

CodePudding user response:

Alright so this one surprised me..

I was using Jupyter-like code cells "#%%" (see docs) to run jupyter notebook in VSCode. And I ran into the same issue as OP.

The error disappeared when I renamed my file, from "inspect.py" to "tmp.py".

  • Related