- Check whether you have Python installed already.
- Open the command line.
- Enter the following command:
python --version
- If you see an output like the one displayed as follows, Python is already installed. And you can skip to step 6:
Python 2.7.10
- If you receive an error such as the following, continue with the installation in step 5:
command not found: python
- Install Python on your computer:
- For macOS, download and run the installer for the latest version of Python 2 or 3 from the following link: https://www.python.org/downloads/mac-osx/
- For Windows, download and run the installer for the latest version of Python 2 or 3 from the following link: https://www.python.org/downloads/windows/
- For Linux, use the operating system's ...