What we covered?
How to Install Python in Windows?
How to Install Python in Windows:
If you want to start working on Python 3, you will need to have access to a Python interpreter. Here are several common ways to accomplish this:
- Usually, Python is obtained from the Python Software Foundation website which is found at the python.org
- It typically involves downloading the appropriate installer for your operating system and also running it on your machine.
- Few operating systems, notably Linux, provides a package manager that can also be used run to install Python.
- On the Mac Operating System, the best way to install Python 3 usually involves installing a package manager that is called Homebrew.
- On your mobile operating systems like Android and iOS, you can also install apps that provide Python programming environment. Doing this can be a great way to practice all your coding skills on the go.
There are several websites that alternately allow you to access a Python interpreter online without even installing anything on your computer at all.
Note: There is a probable chance that Python may have been shipped with your operating system and maybe is already installed. If that is the case, the installed version might be outdated. In such a case, you will want to get the latest version anyhow.
In the “How to Install Python in Windows” installation guide below, you can see step by step how to set a working Python 3 distribution on your Windows, macOS, Linux, iOS, and Android. Let’s get started!
How to Install Python in Windows:
It is most unlikely that your Windows system has Python installed in it. Fortunately, you can install it easily by downloading the Python installer from the website python.org and running it. Here’s a step-by-step guide:
How to download the Python 3 Installer:
- Open a browser window and then navigate to the Download page for Windows at website python.org.
- A heading at the top shows Python Releases for Windows. Click on the link for Latest Python 3 Release – Python 3.x.x
- Now scroll to the bottom of the page and now you may either select Windows x86-64 executable installer for 64-bit or Windows x86 executable installer for 32-bit.
- For your Windows, you may either choose either the 32-bit installer or 64-bit installer. What is the difference between the 32-bit installer and the 64-bit installer?
In case your system has a 32-bit processor, then you should choose to install the 32-bit installer. The 32-bit version generally uses less memory. But the 64-bit version performs much better for applications with all the intensive computation. - In case you are unsure about which version to pick, you may go with the 64-bit version.
Note: You may remember that if you get the choice “wrong” and you would like to switch to any another version of Python, you may uninstall Python and then you may re-install it by downloading another installer from the website python.org
- Run the Installer.
- Once you have chosen and downloaded the installer, you may simply run it by double-clicking on the downloaded file.
- Then a dialog appears that may be read something like this:
Important: In case you want to be sure to check the box that shows Add Python 3.x to PATH as shown to ensure that the interpreter will be placed in the execution path of your computer. - Click ‘Install Now’. After a few minutes, you must have a working Python 3 installation on your system.
How to Install Python in Windows Subsystem for Linux (WSL)
In case you are running with Windows 10 Creators or Anniversary Update, you will actually have another option for installing the Python. These are the versions of Windows 10 which include a feature called the Windows Subsystem for Linux. This feature will allow you to run a Linux environment directly in Windows, which is unmodified and then without the overhead of a virtual machine.
If you would like to know more information on this, you may see the Windows Subsystem for Linux Documentation article which is on the Microsoft website.
For any instructions on how to enable the subsystem in Windows 10 and then install a Linux distribution, you may see the Windows 10 Installation Guide.
Once when you have installed any Linux distribution of your choice, install Python 3 from any Bash console window, just in case you would you will be running that Linux distribution natively.
Other related articles on Windows:
-
How to install Windows 7 from USB Pen Drive
-
How to make partition in Windows 7
-
How to Check Laptop Specs Windows 10
Thank you for reading “How to Install Python in Windows | 2020 Quick & Easy Tips” and do not forget to follow us on Facebook: Techysea