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.
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.
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.
- 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.
- 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.
- 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.
- 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.