Python – Installation

Installing Python 3 on your computer is very simple and easy process. Python 3 can be run using command line or terminal and the output will be generated itself there.

You can download and install latest version of Python 3 from here : Download

Local Environment Setup

Open terminal in Ubuntu or Command Line in Windows to check if Python is already installed and which version is installed and type the bellow command:

python --version

How to Install Python 3 on Windows 7, 8, 8.1, 10

Open the python3 software which you have downloaded from website and use the following bellow image for  installation. 

  1. Check the box for Add Python 3.7 to PATH for accessing python from command line.
  2. Customize installation: can be used to remove features which can be used by Python Frameworks (I recommend let it be default).
  3. Click on Install Now for installing and give permissions

How to Install/Upgrade Python 3 on Ubuntu

Ubuntu comes with Python  3 preinstalled. You can check if Python 3 is installed by the following command:

python3 --version

If you are using Ubuntu 16.10 or newer, then you can easily install Python 3.7 with the following commands:

$ sudo apt-get update
$ sudo apt-get install python3.7

If you’re using another version of Ubuntu (e.g. the latest LTS release), we recommend using the deadsnakes PPA to install Python 3.6:

$ sudo apt-get install software-properties-common
$ sudo add-apt-repository ppa:deadsnakes/ppa
$ sudo apt-get update
$ sudo apt-get install python3.7
$ python3.7 --version
Filed under: Python

No comment yet, add your voice below!

Leave a Reply