How to Start Jupyter Notebook From Anaconda Prompt

Jupyter Notebook can be started using many ways, most common ones are-

  1. From the Windows or Mac search interface. Type “Jupyter Notebook” and it should show you to application to start
  2. From Anaconda prompt by typing “jupyter notebook” at the anaconda prompt
  3. For high graphics display such as with plotly package, you are advised to start the jupyter notebook using the following command- “jupyter notebook –NotebookApp.iopub_data_rate_limit=1e10”
Jupyter Notebook Start from Anaconda

Jupyter Notebook Start from Anaconda for High Resolution Graphics

otherwise you can get an error message similar to the one shown below-

IOPub data rate exceeded. The notebook server will temporarily stop sending output to the client in order to avoid crashing it. To change this limit, set the config variable `--NotebookApp.iopub_data_rate_limit`.

Python Error Message for High Graphics Images

Cheers!

Setup Python Environment

In this blog, I will show you how to setup your Python environment. However, let me first briefly talk about Python

python image

Why Python?

  • Python is easy to learn
  • Codes are shorter and English like
  • Most frequently used language for data science
  • Extensible
  • Open source and free
  • Public support and forums
  • Object oriented
  • Suitable for machine learning and deep learning

Why Notebook Environment?

Here is an article that talks about that.

How to Setup the Environment?

Step 1– Download Anaconda Navigator based on your operating system (OS). Download Python 3.x version package.

https://www.anaconda.com/download/

Step 2– Start Anaconda Navigator. This may take sometime depending on your OS

anaconda_navigatorStep 3– Start Jupyter Notebook by clicking on launch button. This will open a new tab in your preferred browser.

Jupyter

Please check out Anancoda Cheatsheet for frequently used commands

Step 4– Start a new notebook by clicking on new button. Select Python 3 for the kernel

Jupyter_start

If Anaconda Navigator is not starting or giving some issues you can try to reset the Anaconda Navigator by typing the below line in the Anaconda command prompt-

anaconda-navigator –reset

Step 5-  You should see something as shown below. You are ready to write Python codes in Jupyter notebook environment now.

Jupyter_notebook

Step 6- Check the present working directory by typing the below command-

pwd()

Cheers!