vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Jupyter on VSCode takes >10 seconds to activate a kernel

Open marceloprates opened this issue 4 months ago • 1 comments

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.94.2

  • OS Version: Ubuntu 22.04.5 LTS

  • Conda 24.5.0

  • Loading jupyter kernels started taking too long (>10s).

  • I already checked and the problem doesn't seem to be related to jupyter itself, since kernels take about 1 second to run using jupyter outside vscode

  • It also doesn't seem to be related with anaconda (I reinstalled it, tested different environments)

  • It also takes too long to load venv environments, but loads the default python version (/usr/bin/python) very fast

Steps to Reproduce:

  1. Install the jupyter extension
  2. Create a blank conda environment with conda env -n test python==3.10
  3. Install ipykernel with conda install ipykernel
  4. Create a jupyter notebook, select kernel "test" and run the first cell

marceloprates avatar Oct 19 '24 19:10 marceloprates