An easy-to-use guide to setup Python for local development. We will cover the necessary installation of modules like pip and virtualenv.
Step 1: Download Python (ver. 3)
It is recommended to download version 3. Python 2 is not recommended because it is on it’s way out as all the modules and packages that depend on it are being transitioned to newer version. Python 3 is becoming de facto standard for all purposes.
Step 2: Install Python
It is recommended to click add python to PATH is because it cannot be accessed by command prompt in windows otherwise. It’s pretty important. Customizing is optional and if you know your way then do it else using the express way is best. It installs Python to location that you can refer to guides, and installs required packages such as
pip and IDLE automatically.
To check if properly installed:
(To open command prompt, press “Windows + R”. Type “cmd”. Enter)
It should show something like this.
Step 3: Install Virtualenv
VirtualEnv is an good tool to have.
A Virtual Environment, put simply, is an isolated working copy of Python which allows you to work on a specific project without worry of affecting other projects. It enables multiple side-by-side installations of Python, one for each project.
That concludes the setup of Python for Windows.