In this article, We will cover how to install Jupyter Notebook without Anaconda on Windows. Before the installation procedure let us try to understand what is Jupyter Notebook?
Jupyter Notebook is a free, open-source, and interactive web application that allows us to create and share documents containing live code, equations, visualizations, and narrative text. Some of the most important uses of Jupyter Notebook are data cleaning and transformation, numerical simulation, statistical modeling, data visualization, machine learning, and much more interesting.
Jupyter Notebook provides support for over 40 different programming languages. And the interesting thing is Python is one of them. To install the Jupyter Notebook in order to work with python needs the version of Python as follows: (Python 3.3 or greater, or Python 2.7).
Now as we are not installing Jupyter Notebook through Anaconda, but we install it with the help of PIP. Now there must be a question in your mind what is PIP?
So let us direct our discussion to PIP
What is PIP?
In Python, the package installer is known as PIP. PIP is basically a package management system that is mainly used to install and manage software packages/libraries that are written in Python.
And all the files are mainly stored in a large "on-line repository" which is termed as Python Package Index that is PyPI.
Thus the pip uses PyPI as its default source for the packages and their dependencies.
To install the Jupyter Notebook in your system, first of all, you need to check if PIP is already installed or not. You will need to write the command in your command prompt.The command to update the pip is as given below:
python -m pip install --upgrade pip
Then you will see this on your screen:
After the updation of pip, the steps to install Jupyter Notebook are as follows:
1. To Install the Jupyter, the command is as given below:
python -m pip install jupyter
2. After the installation begins you will see this:
3. Installation of Packages and finish of Installation
Launching the Jupyter in command prompt
To launch the Jupyter you need to write the following command
After writing the above command in your cmd, you will see this:
And then it will open this:
Now To create a Notebook where you will store and run your code you just need to make a click on "New" on the top on the right side; there you have four options: Python 3(notebook), Text File, Folder, and Terminal. Just click on Python 3 and start your coding.
The notebook is always saved with (.ipynb) extension.
Now we will show you what exactly you will see on your screen:
Hopefully, you guys understood the installation of Jupyter without the help of Anaconda. For any doubts or queries, please comment below.
You may also like: