- Go to Python's official page, python.org and go for the download page for Windows .
- Go for the Latest Python release - Python 3.x.y page and download the Windows x86-64 executable installer for 64 bit/32 bit as per system requirements.
- Run the installer to install python.
You want to be sure to check the box that says Add Python 3.x to PATH as shown to ensure that the interpreter will be placed in your execution path.
Use the following commands to install python
sudo apt-get update
sudo apt-get install python3.7
We can install python using the following commands
brew install python3