How to Install Python on Your System?
- Windows Platform
Directly go on this link: https://www.python.org/downloads/ and click on the version you wish to install.
Run the .exe file and you are good to go. However there are also several different options through which one can install python.
Windows x86-64 embeddable zip file
Windows x86-64 executable installer
Windows x86-64 web-based installer
Windows x86 embeddable zip file
Windows x86 executable installer
Windows x86 web-based installer
Note: In order to install Python 3.5.7, minimum OS requirements are Windows 7 with SP1 whereas for Windows XP version 3.0 to 3.4.x is acceptable. Also, There is a slight difference between 2.7 version and 3.5 version of python.
So be careful about the version you are using.
- Linux Platform
There are several ways in which you can install python in linux. One easy way is to do a ‘sudo apt-get install’ command
Command: sudo apt-get install python3-minimal
Other way is to install python from source.
- First, you need to install some dependencies:
sudo apt-get install build-essential check install
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
- Then do to downloads and download the required version
- Now install using the following commands
If you are still facing some issues in installing python, you can try some online python editors to get started with and afterwards you can come back to install it on your local system. http://www.skulpt.org/ is a great site to get you started with python.
- MAC Platform
For MAC go to this link: https://www.python.org/downloads/mac-osx/ and select a package you wish to install. Finally follow the wizard instructions to install it on your local system.
NOTE: Also install PyCharm python editor which is available for free and has a lot of features embedded in it. You can download it from the given link: https://www.jetbrains.com/pycharm/download/.
Choose community edition and follow wizard instruction to install it on your computer.
PyCharm is an Integrated Development Environment (IDE) used for programming in Python which provides code analysis, a graphical debugger, an integrated unit tester, integration with version control systems
Now let’s get started to learn python in a fun and interactive way.