How to install Jupyter notebook

BATHULA PRAVEEN (BP)
0

 How to Install Jupyter Notebook

Installation Using the Anaconda Distribution

If you’re a beginner, it’s recommended that you use the Anaconda distribution of Python. In addition to Python, it comes with several useful data science packages pre-installed. The installation also includes Jupyter tools like Jupyter Notebook and JupyterLab.

Now, let’s go over the steps in this installation.

Step 1: Head over to the official website of Anaconda. Then, navigate to anaconda.com/products/individual. And download the installer corresponding to your operating system.


Step 2: Now, run the installer. Follow the prompts on your screen to complete the installation. The installation will typically take a few minutes. ⏳

You can launch Jupyter Notebook once the installation process is complete. And there are a few different ways you can do it.

Step 3: Once installation is complete, you may launch Anaconda Navigator. From the navigator, click on the Launch option in the Jupyter Notebook tab, as shown below:



Installation Using the pip Package Manager

Do you already have Python installed on your system? And would you like to start using Jupyter without using the Anaconda distribution?


If yes, you can do so using the pip package manager. You can use pip to install any Python package that’s part of the Python Package Index—a repository of software for the Python developer community.


In this section, let’s outline the steps for both the Windows and the Linux operating systems.


Install Jupyter Notebook Using pip on Windows

Let’s start with the installation instructions for Windows.

Step 1: Run the following command to check the version of Python installed on your system. You could run the commands from the Windows Powershell or Command Prompt on your machine. Or you could choose to run in a shell environment of your choice such as Git Bash for Windows if you’re a Git user.

python --version

Note: Almost all installations of Python3 (Python 3.x) ship with the pip package manager pre-installed.

Step 2: Next, run this command to check the version of pip installed on your machine.

pip3 --version

If you run into errors because you’ve not installed pip, upgrade your Python installation. You can download and install the most recent release of Python here.

Step 3: To avoid any dependency issues, and ensure all packages are up to date, run the following command.

pip3 install --upgrade pip

Step 4: Now that you’ve installed and updated pip, use it to install Jupyter using the following command.

pip3 install jupyter


Step 5: To launch the Jupyter notebook, run this command.

jupyter notebook







Post a Comment

0Comments

Post a Comment (0)