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

I was coming across the same issue in windows 10 but updating the environment variable following the given steps below, it tends to be working fine.

I know It is a lengthy answer for the simple environment setups, I thought it may be useful for the new window 10 users. Please follow the steps below:-
 

1) Open Anaconda Prompt:

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

2) Check Conda Installed Location.

where conda

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

3) Open Advanced System Settings

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

4) Click on Environment Variables

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

5) Edit Path

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

6) Add New Path

C:\Users\RajaRama\Anaconda3\Scripts C:\Users\RajaRama\Anaconda3 C:\Users\RajaRama\Anaconda3\Library\bin

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

7) Open Command Prompt and Check Versions

8) After 7th step type conda install anaconda-navigator in cmd then press y

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

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.

 In this article, we are going to discuss the error “jupyter is not recognized as an internal external  command” which you get when you type jypyter notebook in command mode. The first way to get around this problem is to install jupyter on your windows systemif its not installed in your system and the second way may be to ‘check the executable path in the environment variable’. 


Photo by Surachet Khaoropwongchai

TABLE OF CONTENTS
  1. What is "Jupyter' is not recognized as an internal or external command, operable program or batch file."?
  2. Why "Jupyter' is not recognized as an internal or external command, operable program or batch file." happens?
  3. How to resolve:
    1. Solution 1: Install jupyter on your windows system
    2. Solution 2: Set Executable Path In The Environment Variable
  4. Conclusion

What is “Jupyter' is not recognized as an internal or external command, operable program or batch file.”?

You usually get this error "jupyter is not recognised as an internal-external command” when you try to access it thinking jypter is installed along with python.

⚠️ Jupyter does not automatically get installed with Python when you install it for the first time. It needs to be installed independently.

 ℹ  Jupyter Notebook is an open-source web application for creating and share documents. Data science tasks like exploratory data analysis (EDA), data cleaning and transformation, data visualisation, statistical modelling, machine learning, and deep learning are all performed using Jupyter notebooks.

Source: Wiki

Why does “Jupyter' is not recognized as an internal or external command, operable program or batch file.“ happens?

Some of the reasons which cause “jupyter is not recognized as an internal or external command”error occurs are:

  • Either jupyter is not installed on the system or
  • There is an incorrect path defined for the executable in the system environment variable.

How to resolve “Jupyter' is not recognized as an internal or external command, operable program or batch file.” ?

You can not only access jupter through the command line, but if you have installed jupyter notebook through anaconda or installed jupyter using pip then you can just go and search jupyter notebook.


Solution 1: Install jupyter on your windows system

The first step should be trying to search in the windows search bar and see if ‘jypter’ is installed or not if it's installed move to solution 2 else you can install jupyter notebook through anaconda or install jupyter using pip.

The steps in the installation of jupyter are as follows:

1.     Open command prompt ie Open cmd

2.     Type python -m pip install jupyter

python -m pip install jupyter

Solution 2: Set Executable Path In The Environment Variable

In this solution, we are assuming that we already have installed ‘jupyter’ but due to some configuration issues we are getting a bad “jupyter is not recognized as an internal-external command” message. To get around this issue we have to check the system PATH variable which may be empty or contain incorrect paths.

To ‘Set Executable Path In The Environment Variable’ follow the steps below:

Get the path of the file:

Search `Jypter' in the search bar and when 'jypter' appears right click on it and open the file location, this is the file location  we need to add to the environment

  


Set the environment variable:

Type system variables in the windows search bar or go to Control Panel>System and Security>System

Select the Advanced tab and then click on the Environment variable option as displayed below in the System Properties pane.

Or there is a shortcut just type ‘System Variables” in the windows search bar like the following:


Click on Environment Variables, select ‘path’ from the list, and click the Edit button. Now set the path as shown in the image below

Select the System variable path, click the ‘Edit’ button and enter the following path as shown in the screenshot below

After the path is defined just click OK and then OK again.

Now again go to Command Prompt and type ‘jupyter notebook’ you will find that there would be no error:

You get the following page opened in URL ie localhost:8888/tree

There are chances you  may still get the same error ie “jupyter is not recognized as an internal or external command”  so if such is the case try to restart the command prompt console  and also make sue you do it as administrator

Conclusion:

So in this article, we discussed what causes the ‘“jupyter is not recognised as an internal or external command” error and we found `two important solutions to get around this issue one of them is by setting the environment variable and another solution was by installing the ‘jypter’ of course if it was not installed by default when Python was installed. Hope this has helped you progress further and saved you a lot of time to keep searching on the net. Please put your comments and feedback if you enjoyed reading this article.

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

Specify the full location to python.exe One way to fix the error would be to launch Python from the Command Prompt by passing in the full path to the executable file each time you wanted to run Python. In other words, instead of typing Python you would type something like C:\Users\me\path\to\python.exe .

Why is jupyter not recognized?

If you're using a menu shortcut or Anaconda launcher to start it, try opening a terminal or command prompt and running the command jupyter notebook . If it can't find jupyter , you may need to configure your PATH environment variable.

Why jupyter is not recognized as an internal or external command operable program or batch file?

You have to install it separately. You are here means you are facing “jupyter is not recognized as an internal or external command, operable program or batch file” error message. Don't worry it's a very basic configuration side error and it occurs when you are using Jupyter for the first time.

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.