How do you fix jupyter is not recognized as an internal or external command?

I installed python and jupyter notebook through the Anaconda distribution. I have been successfully using jupyter notebook for weeks and it has run perfectly fine. However, I can only launch a notebook through the Anaconda Navigator GUI.

When I try to run the command (in command prompt) to start a notebook it says

'jupyter' is not recognized as an internal or external command

This is also the same case with Python

'python' is not recognized as an internal or external command

I am using Windows 10. I am assuming its a PATH issue but I have not had any luck with the solutions I found from other posts. I am relatively new to programming and python so any help would be greatly appreciated.

asked Sep 12, 2018 at 3:34

7

Yes, This is the problem which I faced also during the installation of Jupyter Notebook. But I know the solution of this. I hope, it also works for you as well.

  1. Open cmd.
  2. Type: pip install notebook.
  3. If you Type: **jupyter notebook** - it always shows an error.
  4. So, Type: python -m notebook.

Image shows running Jupyter Notebook

If you feel that this answer is useful and works for you, I expected. So, please press the Up Button for other peoples. So that they can also get some help.

answered Apr 7, 2021 at 13:10

How do you fix jupyter is not recognized as an internal or external command?

Aakash GargAakash Garg

2212 silver badges4 bronze badges

1

I've just fixed this issue on my windows 10 machine. My path contained

C:\Users\user\AppData\Local\Programs\Python\Python37\Scripts\

where 'user' is my windows username, however for some reason jupyter.exe installed in

C:\Users\user\AppData\Roaming\Python\Python37\Scripts

I'm not really sure why and I'd like to get to the bottom of it, but adding both the local and roaming version to my path fixed this.

answered Nov 12, 2018 at 9:24

David WaterworthDavid Waterworth

1,9341 gold badge17 silver badges33 bronze badges

1

Run conda install ipykernel in that environment and then type jupyter notebook, it will lead to jupyter notebook window.

Jason Aller

3,47128 gold badges40 silver badges37 bronze badges

answered Jun 30, 2020 at 16:02

Asma singhAsma singh

511 silver badge3 bronze badges

The issue 'jupyter' is not recognized as an internal or external command is mainly due to no path or wrong path of jupyter in windows environment variables.

In my case related files were available in C:\ProgramData\Anaconda3\Scripts and so i have added this path in Windows as shown below and then you can run from any path:

How do you fix jupyter is not recognized as an internal or external command?

One important thing: after that while running jupter notebook from any location may give DLL Error. You have to first give command activate base and then jupyter notebook. Enjoy working now.

answered Feb 7, 2021 at 6:58

How do you fix jupyter is not recognized as an internal or external command?

try typing

> conda install jupyter

inside your environment and then try to open jupyter notebook again.

answered Aug 24, 2020 at 10:22

You are suppoused to check in the two check boxes which are present at the beginning of installation.If you uninstall and reinstall it again it works fine

answered Mar 10, 2020 at 14:13

How do you fix jupyter is not recognized as an internal or external command?

2

Here is a supplementary suggestion with respect to @Subhasish Paul 's Answer:

When creating a new path to the user variable (if you chose the option "install for all users" you may need to create a system variable), also include another path of "bin" in your environment variables, simply entering where conda in Anaconda Prompt to look for it. For me it's C:\ProgramData\Anaconda3\Library\bin .

Adding this extra path in your environment variables will eliminate DLL Error, hence you don't have to activate conda each time when you want to open jupyter notebook. It works for me very well.

answered Feb 20 at 7:44

How do you fix jupyter is not recognized as an internal or external command?

Just had a similar problem tried it in cmd as well as Powershell, checked other suggestions too. However, the command isn't jupyter notebook it is : jupyter-notebook

answered May 18 at 19:05

How do you fix jupyter is not recognized as an internal or external command?

Use the command py -m notebook and the problem is sloved.

answered Jun 14 at 18:08

1

Not the answer you're looking for? Browse other questions tagged python anaconda jupyter-notebook or ask your own question.

How do you solve jupyter is not recognized as an internal or external command?

You can use the pip application of python to install jupyter on your system. Go to the Start menu and search for a Run application or directly press the Windows + R shortcut key. In the Run application type cmd and hit enter or click an ok button.

What to do if Jupyter notebook is not working?

Jupyter doesn't load or doesn't work in the browser Try disabling any browser extensions and/or any Jupyter extensions you have installed. Some internet security software can interfere with Jupyter. If you have security software, try turning it off temporarily, and look in the settings for a more long-term solution.

Why is Jupyter notebook command not found?

If you encounter an error like "Command 'jupyter' not found", please make sure PATH environment variable is set correctly. Alternatively, you can start up JupyterLab using ~/. local/bin/jupyter lab without changing the PATH environment variable.

How do I activate a Jupyter notebook in terminal?

To launch Jupyter Notebook App: Click on spotlight, type terminal to open a terminal window. Enter the startup folder by typing cd /some_folder_name . Type jupyter notebook to launch the Jupyter Notebook App The notebook interface will appear in a new browser window or tab.