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!