Installing Python and Jupyter Notebook with Anaconda

Wikantyoso Aji Nugroho
2 min readAug 15, 2020

--

Hi guys! In this article, I would like to share how to install Python and Jupyter Notebook with anaconda.

Disclaimer: I used the Anaconda Individual Edition and Windows 10 as my operating system.

Before we get started, here is the system requirements for Anaconda Individual Edition:

  • Operating system: Windows 8 or newer, 64-bit macOS 10.13+, or Linux, including Ubuntu, RedHat, CentOS 6+, and others.
  • System architecture: Windows- 64-bit x86, 32-bit x86; MacOS- 64-bit x86; Linux- 64-bit x86, 64-bit Power8/Power9.
  • Minimum 5 GB disk space to download and install.

Anaconda Installation

It is quite easy to install Anaconda on your PC. You just need to download the installer from here, and then you can just launch the installer and follow all the installation steps. If you have any problem regarding Anaconda installation, you can follow the step-by-step instruction from here.

Python Installation

In the latest release, Anaconda comes with built-in Python 3.8. But if you want to install another version of Python, you can create a separate environment with a different version of Python. Here are some simple steps on how to create a new environment in Anaconda:

  • Open the Anaconda Prompt, you can find it on the search bar.
  • In the prompt, type:
conda create --name environment-name python=your-version-of-python

So, for example, if you want to create an environment called “py27” with Python 2.7 installed you can type:

conda create --name py27 python=2.7

Just follow the installation steps in the prompt, and voila! You just created a new environment with Python 2.7 installed!

  • To activate your new environment you can use the ‘activate’ command.
activate py27

Jupyter Notebook Installation

To install Jupyter Notebook with Anaconda you can use this command:

conda install -c conda-forge notebook

Don’t forget to activate your desired environment first, because if you don’t the Jupyter Notebook will be installed on the base environment, which can be not your main preference. If you follow the instructions thoroughly, you should be able to launch the Jupyter Notebook by typing command below in your environment prompt:

jupyter notebook

Congratulations! You have done your Python and Jupyter Notebook Installation!

Psssst! You also can find other Anaconda useful commands here! Good day!

--

--