Reputation: 1934
Recently I keep running into problems with my python notebooks in vscode where vscode doesn't see the installed ipykernel
. There are several posts on this issue with suggestions to update certain packages (VSCode not picking up ipykernel, Python requires ipykernel to be installed, vscode not detecting ipykernel, verified it is actually installed, Install ipykernel in vscode - ipynb (Jupyter), ...)
This makes me wonder what the actual minimum requirements are. Different "offical" channels mention different dependencies:
jupyter
ipython
and ipykernel
jupyter
may be required.Previously I only had
ipykernel
notebook
installed in the conda environment which worked just fine.
So what are the actual requirements to run jupyter notebooks in vscode? What are the needed packages with versions?
Upvotes: 3
Views: 3207
Reputation: 1
By test, at least 3.8 and 3.7 is plausible,
for error in VSCode block, just implement pip install jupyter
in terminal.
Upvotes: 0
Reputation: 1934
The minimum requirement according to the ticket https://github.com/microsoft/vscode-jupyter/issues/14130 is
ipykernel
The jupyter
package is only required when asked to install. It has to do with native zmq modules not working on the platform.
Upvotes: 0
Reputation: 9427
The official document states that all you need is install the jupyter package by command pip install jupyter
, which includes notebook, qtconsole, and the IPython kernel.
At the same time, Jupyter extension in the vscode extension store is also necessary.
Upvotes: 0