Python Forum
Error executing Jupyter command 'notebook': [Errno 'jupyter-notebook' not found] 2
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error executing Jupyter command 'notebook': [Errno 'jupyter-notebook' not found] 2
#1
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 *
Reply
#2
Run jypyter notebook without a '-'
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#3
I have tried both with '-' and without

and i am using jupyter notebook
also tried jypyter notebook like u said didnt work
Reply
#4
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.
Reply
#5
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
Reply
#6
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]
Reply
#7
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 :)
Reply
#8
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
Reply
#9
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.
Reply
#10
(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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Error (Errno 2), File upload with the Flask framework and a public IP Username_Python1 0 279 Mar-28-2024, 01:46 PM
Last Post: Username_Python1
  file open "file not found error" shanoger 8 1,146 Dec-14-2023, 08:03 AM
Last Post: shanoger
  My code works on Jupyter Lab/Notebook, but NOT on Visual Code Editor jst 4 1,047 Nov-15-2023, 06:56 PM
Last Post: jst
  Navigating file directories and paths inside Jupyter Notebook Mark17 5 718 Oct-29-2023, 12:40 PM
Last Post: Mark17
  error: invalid command 'egg_info' TimTu 0 963 Jul-27-2023, 07:30 AM
Last Post: TimTu
  Syntax error while executing the Python code in Linux DivAsh 8 1,613 Jul-19-2023, 06:27 PM
Last Post: Lahearle
  Error 1064 (42000) when executing UPDATE SQL gratiszzzz 7 1,487 May-22-2023, 02:38 PM
Last Post: buran
  How to programmatically stop a program in Jupyter Notebook? Mark17 11 37,227 Feb-12-2023, 01:41 PM
Last Post: jp21in
Thumbs Up Python 3 Jupyter notebook ternary plot data nicholas 0 948 Jan-21-2023, 05:01 PM
Last Post: nicholas
  Module Not Found Error bitoded 4 1,416 Jan-01-2023, 09:08 AM
Last Post: bitoded

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020