Python Forum

Full Version: Error executing Jupyter command 'notebook': [Errno 'jupyter-notebook' not found] 2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
hi So i installed Anaconda to get access to jupyter notebook and python.then I run jypyter notebook command in command prompt
I get
Error executing Jupyter command 'notebook': [Errno 'jupyter-notebook' not found] 2
does someone know how to fix this

jupyter notebook command *
Run jypyter notebook without a '-'
I have tried both with '-' and without

and i am using jupyter notebook
also tried jypyter notebook like u said didnt work
Look at Anaconda and other ways to run Python
So there are several different ways eg for Windows there is the Navigator(give shortcut to Notebook) or Anaconda Prompt(there own cmd).
In Anaconda3\Scripts folder is jupyter-notebook.exe(direct start) or jupyter.exe which can be accessed from command line(jupyter notebook) when in this folder from cmd.
C:\Users\myname\Anaconda2\Scripts>jupyter.exe
usage: jupyter [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir]
[--paths] [--json]
[subcommand]
jupyter: error: one of the arguments --version subcommand --config-dir --data-dir --runtime-dir --paths is required

can someone help me just run this not interested in reading entire doccuments pls this is a very small thing can someone just tell me how to fix this
Of all method i showed you manged to find onr that don't work Huh
You should use Python 3.6 which is Anaconda3,not Anaconda2.
From cmd:
Microsoft Windows [Version 10.0.16299.192]
(c) 2017 Microsoft Corporation. Med enerett.

C:\Windows\System32>cd\
C:\>G:
G:\>cd Anaconda3\Scripts
G:\Anaconda3\Scripts>jupyter notebook
[I 04:43:19.362 NotebookApp] Serving notebooks from local directory: G:\Anaconda3\Scripts
This is not necessary at all the Navigator give direct link or Anaconda prompt it's no navigating just jupyter notebook.
Have you even look at this ?
[Image: ecr7B9.jpg]
C:\Users\Siddharth\Anaconda2\Scripts\activate.bat' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Siddharth>jupyter notebook
Error executing Jupyter command 'notebook': [Errno 'jupyter-notebook' not found] 2

this is what i see in my annaconda prompt



I am running Anaconda 2 because I want to learn Python 2(basically I am following an online course to learn python but am stuck at like the first step really frustrating :)
It's annoying that you can do what i post,
you really need to learn basic command line stuff.

You can open Navigator and click Jupyter Notebook.
In file explorer it's jupyter-notebook.exe for direct start(double-click),not jupyter.exe(which is used from cmd with command jupyter notebook).
[Image: es1d3I.jpg]
Here a re-post where a start cmd and navigate(cd) to Scripts folder,the command jupyter notebook.
Microsoft Windows [Version 10.0.16299.192]
(c) 2017 Microsoft Corporation. Med enerett.
 
C:\Windows\System32>cd\
C:\>G:
G:\>cd Anaconda3\Scripts
G:\Anaconda3\Scripts>jupyter notebook
[I 04:43:19.362 NotebookApp] Serving notebooks from local directory: G:\Anaconda3\Scripts
Hi. if there is no Jupyter notebook in your C:\Users\Siddharth\Anaconda2\Scripts\, Open your Anaconda cmd and type this - pip install "ipython[notebook]" -. I hope you to solve the problem.
(Feb-09-2019, 02:05 PM)rudtj5592 Wrote: [ -> ]Hi. if there is no Jupyter notebook in your C:\Users\Siddharth\Anaconda2\Scripts\, Open your Anaconda cmd and type this - pip install "ipython[notebook]" -. I hope you to solve the problem.

This worked!! Thanks @rudtj5592
Pages: 1 2