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 Version | Release Date |
3.7 | 2018-06-27 |
3.6 | 2016-12-23 |
3.5 | 2015-09-13 |
3.4 | 2014-03-17 |
3.3 | 2012-09-29 |
3.2 | 2011-02-20 |
3.2 | 2009-06-26 |
3.0 | 2008-12-03 |
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.
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
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!