0

When I type jupyter notebook in cmd I get the following error :

'jupyter' is not recognized as an internal or external command, operable program or batch file.

whereas when I type jupyter-notebook it successfully opens the notebook.

Why am I facing this error? (I have jupyter installed and I was able to open the notebook for the very first time after installation with jupyter notebook command but not from second times ownwards)

  • 1
    Does this answer your question? [Running jupyter via command line on Windows](https://stackoverflow.com/questions/41034866/running-jupyter-via-command-line-on-windows) – one Jun 08 '20 at 05:56

4 Answers4

3

Please try this command; first

$ py -m notebook

Otherwise

$ python -m pip install jupyter --user
$ jupyter notebook
Hiren Namera
  • 390
  • 1
  • 10
1

Instead of using command prompt, You can use Anaconda prompt (Anaconda) to open your jupyter notebook

enter image description here

jupyter notebook command will work in anaconda prompt

Fareed Khan
  • 2,613
  • 1
  • 11
  • 19
1

1.Open cmd.

2.Type: pip install jupyter notebook, Use pip install jupyter.

3.Now Type: python -m notebook.

Pawan
  • 14
  • 2
0

For first time use of jupyter notebook, just open the anaconda prompt and type:

> pip install jupyter

then open the notebook directly

> jupyter notebook

that's it.