How to install python

Install Python on Windows

Python is not preinstalled on Windows, so we'll show you step by step how to do it.
Step 1
Visit the python website and Navigate to the Downloads. (https://www.python.org)
Step 2
Choose a python version. The latest stable release is recommended for general use.

Step 3
Click to download the Python installer for Windows.
Step 4
Run the Python installer. Make sure to check the box that says Add Python to PATH to enable running Python from the command line.

After installation completes, close the installer. You can verify your installation by opening the Command Prompt and typing python --version. To start programming, open the Windows Start menu, type IDLE, and open Python's IDLE environment.

Install Python on MacOs

To install Python simply open the Terminal and then enter the following command.
Step 1


brew install python3                           
                                            

Step 2
To verify the installation enter this command.


python3 --version                           
                                            

Install Python on Linux

Step 1
Check if Python is already installed.If not, install.


python3 --version                           
                                            

Step 2
Update your package list.


sudo apt update   # For Debian-based
sudo dnf update   # For Red Hat-based 
sudo pacman -Syu  # For Arch Linux-based                         
                                            

Step 3
Install Python 3.


sudo apt install python3   # For Debian-based
sudo dnf install python3   # For Red Hat-based
sudo pacman -S python      # For Arch Linux-based                       
                                            

Step 4
Verify the Installation.


python3 --version                      
                                            

Step 5
Install pip. pip is the package manager for Python and is useful for installing Python packages.


sudo apt install python3-pip   # For Debian-based
sudo dnf install python3-pip   # For Red Hat-based
sudo pacman -S python-pip      # For Arch Linux-based                   
                                            

Verify pip installation with:


pip3 --version                  
                                            

To learn more about check out our complete Python course.

SIMILAR READS

CATEGORY 12 Jun 2019

Bitters hashtag waistcoat fashion axe chia unicorn

Glossier echo park pug, church-key sartorial biodiesel vexillologist pop-up snackwave ramps cornhole. Marfa 3 wolf moon party messenger bag selfies, poke vaporware kombucha lumbersexual pork belly polaroid hoodie portland craft beer.

Learn More
CATEGORY 12 Jun 2019

Meditation bushwick direct trade taxidermy shaman

Glossier echo park pug, church-key sartorial biodiesel vexillologist pop-up snackwave ramps cornhole. Marfa 3 wolf moon party messenger bag selfies, poke vaporware kombucha lumbersexual pork belly polaroid hoodie portland craft beer.

Learn More
CATEGORY 12 Jun 2019

Woke master cleanse drinking vinegar salvia

Glossier echo park pug, church-key sartorial biodiesel vexillologist pop-up snackwave ramps cornhole. Marfa 3 wolf moon party messenger bag selfies, poke vaporware kombucha lumbersexual pork belly polaroid hoodie portland craft beer.

Learn More