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.

  1. Open a Web browser and visit the link https://www.python.org/downloads/ to download the latest release of Python.
  2. Follow the link for the Windows installer python-version.msi file you need to install.
  3. 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.
  4. 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.

  1. Open a Web browser and visit https://www.python.org/downloads/.
  2. Follow the link to download the zipped source code available for Unix/Linux.
  3. Download and extract files.
  4. Editing the Modules/Setup file if you want to customize some options.
  5. run ./configure script
  6. make
  7. make install

This installs Python at standard location /usr/local/bin and its libraries at /usr/local/lib/python-version