nteract / papermill

📚 Parameterize, execute, and analyze notebooks
http://papermill.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
6k stars 429 forks source link

RuntimeError: Kernel didn't respond in 60 seconds #776

Open TimeAshore opened 9 months ago

TimeAshore commented 9 months ago

🐛 Bug

Hello team, I would like some help ~~

We use papermill to execute jupyter notebook, when running papermill using subprocess multiprocessing the following error occurred.

RuntimeError (\"Kernel didn't respond in %d seconds\" % timeout)\nRuntimeError: Kernel didn't respond in 60 seconds"

RuntimeError(msg)\nRuntimeError: Kernel died before replying to kernel_info"

Relevant pageages version are jupyter-core==4.9.1, jupyter-client==7.1.2, nbconvert==7.0.0, papermill==2.3.4

TimeAshore commented 9 months ago

If you need to get more information, please feel free to reach out to me.

MSeal commented 9 months ago

So the issue is below the papermill level. This is saying that the kernel you are trying to run never replied to the intial ZMQ ping. What kernel are you trying to launch? Is it working in JupyterLab but not papermill with the same python environment?