Python Installation Complete Guide | Latest Python Version
To become a Python programmer, the first step is to learn to install or update Python on a local machine or computer. Here we will learn how to install Python on various operating systems (eg-Windows, Linux, and Mac OS X).
Getting Started
Some computers will have python already installed.
To check if you have installed Python on a Windows computer, search for Python in the start bar or run the following at the command line (cmd.exe):
C:\Users\System Name>python --version
To check if you have Python installed on a Linux or Mac, then on Linux open the command line, or on Mac open the Terminal and type:
python --version
Download Python Latest Version
To download the latest version of Python, visit the official website of Python. https://www.python.org
Python Installation on Windows
Here are the all steps to install Python on a Windows computer.
- Open a Web browser and visit the link https://www.python.org/downloads/ to download the latest release of Python.
- Follow the link for the Windows installer python-version.msi file you need to install.
- Double-click on the downloaded file. This brings up the Python install wizard, which is really easy to use. Just accept the default settings, wait until the install is finished.
- Now, try to run python on the command prompt. Type the command python -version.
Now, You are ready to work with Python.
Python Installation on Unix and Linux
Here is the complete guide to installing Python on Unix/Linux machine.
- Open a Web browser and visit https://www.python.org/downloads/.
- Follow the link to download the zipped source code available for Unix/Linux.
- Download and extract files.
- Editing the Modules/Setup file if you want to customize some options.
- run ./configure script
- make
- make install
This installs Python at standard location /usr/local/bin and its libraries at /usr/local/lib/python-version