Python Installation on your computer is very simple and easy process. Python 3 can be run using command line or terminal. Here you will learn how to install Python Interpreter on your Windows and Ubuntu Machine.
You can download and install latest version of Python 3 from here : Download
Local Environment Setup
Open your terminal or Command Line to check whether Python is Install on your system. Use the bellow command which will also provide Python Version.
How to Install Python 3 on Windows
Open the setup file of Python which we have downloaded. Double click on that file and Follow the steps in Images.:
- Check the box for Add Python 3.7 to PATH for accessing python from command line.
- Customize installation: can be used to remove features which can be used by Python Frameworks (I recommend let it be default).
- 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:
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 --versionThis Tutorial will show you perfect way to install Python 3 in your Environment.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
Whats Next – Python Basic Syntax’s