Jupyter Notebook is an open-source web-based project that is used to create and share documents, programming files, and text contents with other users.

You are watching: Jupyter is not recognized as an internal or external command

When you first install Python, Jupyter does not come as a default installation along with the python. 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.

*
jupyter is not recognized as an internal or external command" class="wp-image-139" width="541" height="219" srcset="https://trident-gaming.net/jupyter-is-not-recognized-as-an-internal-or-external-command/imager_1_10019_700.jpg 657w, https://trident-gaming.net/wp-content/uploads/2021/07/error-300x121.jpg 300w" sizes="(max-width: 541px) 100vw, 541px">

Don’t worry it’s a very basic configuration side error and it occurs when you are using Jupyter for the first time. Once the required configuration is done, you will not face this error message again.

There are following two reasons which cause “jupyter is not recognized as an internal or external command” error.

Jupyter is not installed on the systemIncorrect path of an executable in the system environment variable

Go through this article thoroughly to understand these reasons and get rid of this error message.

We will first see how to install jupyter on the system and then we will set the required environment variable.

Step 1: Install jupyter on your windows system

The first thing to check is whether you have installed jupyter on your system or not. If you have not installed jupyter and tried to use jupyter command then off course you will get above error message as this functionality is not available on your system.

If you have already installed jupyter then move to Step 2 else follow the below stepwise procedure to install jupyter on your windows system.

You can use the pip application of python to install jupyter on your system.

Open Command Prompt

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.

Run jupyter command

Run the following command on the command prompt as shown below.

python -m pip install jupyter

*
jupyter is not recognized as an internal or external command" class="wp-image-140" srcset="https://trident-gaming.net/jupyter-is-not-recognized-as-an-internal-or-external-command/imager_2_10019_700.jpg 406w, https://trident-gaming.net/wp-content/uploads/2021/07/Screenshot_4-300x16.jpg 300w" sizes="(max-width: 406px) 100vw, 406px">

Step 2: Set Executable Path In The Environment Variable

Note: Here we have assumed that you have installed jupyter on your environment.

If you have installed jupyter and still getting the error message then check for the system PATH variable. Either you have not entered jupyter executable path in the PATH system variable or the entered path is incorrect.

Follow the below stepwise procedure to set the correct jupyter executable path in the environment variable.

Go to Control Panel — > System and Security — > System

*
jupyter is not recognized as an internal or external command" class="wp-image-141">

In the System Properties pane, select the Advanced tab and click on Environment variable option as shown below.

*
jupyter is not recognized as an internal or external command" class="wp-image-142" srcset="https://trident-gaming.net/jupyter-is-not-recognized-as-an-internal-or-external-command/imager_4_10019_700.jpg 408w, https://trident-gaming.net/wp-content/uploads/2021/07/Screenshot_2-259x300.jpg 259w" sizes="(max-width: 408px) 100vw, 408px">

The environment variable window will open to set the user variable and system variable. Here we will set the system variable so that it will be applicable for all the users of the system. When you install the jupyter, all required executable gets added into the Scripts folder of python installation.

Add path up to scripts folder of python installation in the variable value as shown below and click ok as shown below.

*
jupyter is not recognized as an internal or external command" class="wp-image-143" srcset="https://trident-gaming.net/jupyter-is-not-recognized-as-an-internal-or-external-command/imager_5_10019_700.jpg 580w, https://trident-gaming.net/wp-content/uploads/2021/07/Screenshot_3-300x259.jpg 300w" sizes="(max-width: 580px) 100vw, 580px">

Note 1: After changing the environment variable value, make sure to open a new command prompt to execute jupyter command. If you tried to run jupyter command on the same command prompt then you will again get “jupyter is not recognized as an internal or external command” error message.

Note 2: Some of our users noted that running command prompt in administrative mode resolved their issue. After configuring the above setting if you are still getting the same error message then try running the command prompt in administrative mode.

Conclusion:

We hope, using the above steps you are able to get rid of “jupyter is not recognized as an internal or external command, operable program or batch file” error message.

See more: General Grievous "This Will Make A Fine Addition To My Collection Meme )

Please let us know whether you are able to fix this error with the above steps or not in the comment section. You can also reach out to us using Contact Form.


Categories Tech Support Tags jupyter, jupyter is not recognized as an internal or external command, python error Leave a comment Post navigation