Step-By-Step Instructions For Installing Python
Step-By-Step Instructions For Installing Python
1. Locate the downloaded installer file (usually in your Downloads folder) and double-
click to run it.
2. In the installer window, check the box that says "Add Python to PATH" at the bottom.
3. Click on "Customize installation" if you want to choose optional features and the
installation path, or click on "Install Now" for the default installation.
1. Open the Command Prompt by pressing Win + R, typing cmd, and hitting Enter.
2. In the Command Prompt, type:
python --version
For macOS
1. Locate the downloaded installer file (usually in your Downloads folder) and double-
click to open it.
2. Follow the prompts in the installer to complete the installation. This usually involves
agreeing to the license, selecting the installation location, and clicking "Install".
1. Open the Terminal by pressing Cmd + Space, typing Terminal, and hitting Enter.
2. In the Terminal, type:
python3 --version
This should display the installed version of Python. Note that macOS typically comes
with Python 2.x pre-installed, so you need to use python3 to refer to the new
installation.
For Linux
2. Install Python
python3 --version
pipis the package installer for Python, and it is often included with Python installations.
However, if it is not installed, you can do so manually.
python get-pip.py
For Linux
virtualenv myenv
myenv\Scripts\activate
o On macOS/Linux:
source myenv/bin/activate
By following these instructions, you should be able to successfully install Python on your
system.