As we all know Jupyter Notebook is one of the best editor for the python programming . You just write some chunk of code and check it runs or not and keep doing the same .
The problem that you might face is that how to install Jupyter Notebook . Most of the tutorials tells you to first install the Anaconda then from there install the Jupyter Notebook . Today we are going to see how we can install the Jupyter Notebook without using Anaconda .
Steps :
1. First of all open your command prompt .
2. Now upgrade your pip by using
python -m pip install -upgrade pip
3. For some of you it might happen that above command will be showing error "python is not recognized as internal or external command" in that case check your path and verify Python's path is added in System's path.
4. If you have added the path but again it is showing the same error then try to use "py" instead of "python".
py -m pip install -upgrade pip
If again it does not work then comment in the comment section below.
5. Once you upgrade your pip, now type
python -m pip install jupyter notebook
Or
python -m pip install jupyter notebook
6. Your Jupyter Notebook is installed successfully .
How to run Jupyter Notebook :
Go to the Path where Jupyter Notebook is installed. Mostly it should be in
C:\Users\welcome\AppData\Local\Programs\Python\Python39\Scripts
Note : For my case it is welcome , for your case it can be your username.
C:\Users\username\AppData\Local\Programs\Python\Python39\Scripts
Now you can run Jupyter Notebook in two ways.
1. Inside script folder there will be an exe file jupyter-notebook.exe . Run this file it will be opened in browser.
2. Second way is to copy the path and paste this path in the environment variable's System path. Then open your command prompt and type jupyter notebook
If you are facing any problems to install jupyter notebook then either contact us or type in the comments .