Install and check Python Packages

Here are some examples on how you can check that necessary packages are installed in the python environment and check their version before moving forward. These are some of the must have packages. If any of the packages are not installed, you can do the anaconda install using conda prompt.  Further directions are shown in the link 

You can search for any package in anaconda environment by using the following code-

anaconda search -t conda seaborn

Python_version

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.

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

Jupyter_start

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!