Python Setup for Windows 10

Programming | 07 June 2018

In this blog post, we will setup the environment for Python and its libraries in Windows 10. This is useful for a beginner or a professional who quickly wants to setup Python in a Windows 10 machine.

Hardware used

All the following steps are checked and verified with the specs mentioned below.

  • CPU: Intel i7-7500U CPU @ 2.70GHz, 16 GB RAM
  • OS: Windows 10 (64-bit)


There are two versions of Python that you can choose to install and Anaconda is the easiest way to do it.

  1. Python 2.7
  2. Python 3.6

I prefer to use Python 2.7 because it is more stable than Python 3.6. But if you prefer installing Python 3.6, go ahead and let me know whether you installed all dependencies successfully in the comments.

Python 2.7

  • Head over to Anaconda’s Downloads section. You will see a webpage as shown below. Click on Python 2.7 version download button. You can choose between 64-bit and 32-bit according to your OS.
Figure 1. Anaconda Download page
  • Get into your local disk C. Create a folder named software or machine_learning (my choice!). Get into the folder that you created and create another folder named anaconda. Below is the folder structure.
Figure 2. Disk info
  • Click “Next” and check the two options provided. This will take care of path settings in Windows 10. Click “Install” and it will take some time (around 10-15 mins) to install.
Figure 3. Path Settings
  • After installing, open up a command prompt and type python. You should get into Python shell.

You can install or uninstall or update python packages using Anaconda commands. To learn more about Anaconda commands, please check this cheat sheet.

In case if you found something useful to add to this article or you found a bug in the code or would like to improve some points mentioned, feel free to write it down in the comments. Hope you found something useful here.