INSTALLING PYTHON 3

Python Free Tutorial

Because of its simplicity in syntax, python is great choice for beginners to experienced developers. This tutorial teaches you how to install python on windows as well as various linux distribution. Most of the devices come with previously installed python. To see the version of python installed open command prompt/terminal and run following code.

python3 --version

Important release dates in the history of Python languages :

Python 3 VersionRelease Date
3.72018-06-27
3.62016-12-23
3.52015-09-13
3.42014-03-17
3.32012-09-29
3.22011-02-20
3.22009-06-26
3.02008-12-03
source : wikipedia
Installing Python 3 in windows:
Prerequisites
  • A system running Windows 10 with admin Privileges
  • Command Prompt (comes with windows by default)
  • A Remote Desktop connection app(use if you are installing Python to a remote Windows server)
Steps
  • Download Python Executable Installer (click here )
  • Run Executable Installer
  • Verify Python was installed on windows
  • Verify Pip was installed
  • Add Python Path to environment Variables (optional)
  • Install virtual environment (optional)

Add Python 3.x to PATH to ensure that the interpreter will be placed in your execution path.

Installing Python 3 on Linux

If you are using Ubuntu and derived OS then you can install python using following command :

$ sudo apt-get install software-properties-common
$ sudo add-apt-repository ppa:deadsnakes/ppa
$ sudo apt-get update
$ sudo apt-get install python<version>  # like python3.8.1

If you are using Arch Linux or Manjaro, you can run following code:

 $ sudo pacman -S python

If you are on Red Hat/RHEL/CentOS, you can install python using following command :

$ sudo yum install python

Hurray ! You have installed python on your device. Now you are one step closer in developing your first python project. If you have any questions or feedback, feel free to comment below.

This page is contributed by Diwas & Sunil . If you like AIHUB and would like to contribute, you can also write an article & mail your article to  itsaihub@gmail.com . See your articles appearing on AI HUB platform and help other AI Enthusiast.

About Diwas Pandey

Highly motivated, strong drive with excellent interpersonal, communication, and team-building skills. Motivated to learn, grow and excel in Data Science, Artificial Intelligence, SEO & Digital Marketing

View all posts by Diwas Pandey →

4 Comments on “INSTALLING PYTHON 3”

  1. I would like to thank you for the efforts you’ve put in penning
    this website. I really hope to see the same high-grade blog posts by you later
    on as well. In fact, your creative writing abilities has motivated me to get my
    own website now 😉 adreamoftrains web hosting service

  2. You really make it seem so easy with your presentation but I find this topic to be actually something which I think I would
    never understand. It seems too complicated and very broad for me.

    I am looking forward for your next post, I’ll try to get the hang of it!

Leave a Reply

Your email address will not be published.