Skip to content

Instantly share code, notes, and snippets.

@logicguy1
Created November 29, 2021 14:41
Show Gist options
  • Save logicguy1/9a5cad15918809e65cd29526d6b7feb4 to your computer and use it in GitHub Desktop.
Save logicguy1/9a5cad15918809e65cd29526d6b7feb4 to your computer and use it in GitHub Desktop.
A guide to installing python

How do I install python?

Table of contents

  1. Installing on windows
  2. Installing on linux

Installing on windows

The first thing we want to do i navigate to python.org

Then we can hover over the downloads tab and click the download button, this will give you the latest release

image

After saving and running the file it is important to add python to path, otherwise we can't run it using the terminal

image

Checking the install

To check if you got it installed correctly you want to press win + r to open the run box, in it type cmd and press enter.
Then we can type python --version and make sure it sais the exact version we chose to install.
Ff it sais something like Python 2.6 its because your might have multiple instances of python installed, instead try python3 --version or python3.x --version.
Those are the commands you want to use in the futre for running scripts.

Installing on linux

Arch linux

On arch you can install python using the pacman package manager, you want to install this package for the latest release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment