Python setup for Data Science in Windows

Rakesh TS
3 min readDec 23, 2020

Objective: To set up python and its libraries in Windows 10 and 7

The most easiest way to install python is using Anacondas

Anacondas:

There are two versions of python that you can choose to install.

  1. Python 2.7
  2. Python 3.6

Choose any version of your choice

Installation:

Create a folder named Machine Learning or PythonInstall (your choice). Get into the folder and create another folder Anaconda3

Click next and check both the boxes as shown below in the picture, This will take care of path settings in Windows enabling us to run python from any terminal plus, we don’t have to exclusively set the environmental path variables.

Follow as shown in the Picture

Click Install.

Post Installation :

Open Command Prompt and type python, You should get into Python Shell as shown below.

Python Version 3.6.5

python -V command gives you the version of python installed.

You can install and update any packages in python, the easiest way to do is using ‘pip. The pip command is a tool for installing and managing Python packages, such as those found in the Python Package Index. Using PIP, You can install the module. It will install the dependency also.

To make your environment industry ready, it is advisable to update / Install using pip as it demands.

The below picture will show you, how to use pip command to install keras package.

>> pip install keras

pip install keras

The below exception can be solved by using the command python -m pip install — upgrade pip.

You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the ‘python -m pip install — upgrade pip’ command.

>> python -m pip install — upgrade pip

--

--