Home > Net >  Jupyter Notebook Error: "Jupyter command `jupyter-notebook` not found."
Jupyter Notebook Error: "Jupyter command `jupyter-notebook` not found."

Time:02-06

enter image description here

I just downloaded vscode using homebrew and install [email protected] using homebrew as well. I used pip3 install jupyter as I saw other recommend to fix this issue and still no luck. I have downloaded all the extensions on vscode and I have set the kernal to homebrew version of python and I still recieve this issue. Note that I have used notebooks in the past and have never gotten this issue so I am not really sure what it is this time. I have not installed anaconda.

I have tried uninstalling and installing the extensions but no luck. I have tried to pip3 uninstall jupyter, pip3 uninstall notebook and reinstall them and still no luck. I have tried to change the kernal to the default python3 on the mac and still nothing. My mac is m1 running on Ventura 13.2. I am able to run python code on regular python files just not using jupyter notebook. I followed the instructions how to set it up on vscode website but I got this error. Any help would be appreciated thank you.

CodePudding user response:

Just had the same problem as you, I followed the steps from Unable to start Jupyter Notebook Kernel in VS Code, reloaded VSCode and it worked.

CodePudding user response:

I had the same issue, running on m1 mac (Ventura 13.2). If you aren't already, make sure you are utilising a python virtual environment:

# Create a python virtual environment
$ python -m venv venv
# Activate your python virtual environment
$ source venv/bin/activate

Form your VSCode Command Palette (Shift Command P), search and then choose

Jupyter: Select Interpreter to Start Jupyter Server

You should then select the python version that is associated to your virtual environment (venv).

  • Related