Python Setup - PolyglotDevsLondon/setup GitHub Wiki

Make sure you have all pre-requisites installed.

OSX

  1. Install Python: brew install python (Python 3)
  2. Insert the Homebrew directory at the top of your PATH environment variable by updating your ~/.bash_profile with export PATH=/usr/local/bin:/usr/local/sbin:$PATH Homebrew installs pip which is the Python package manager.
  3. Check if Python is installed by running the following command in the terminal: python --version

Windows

  1. Download the latest version of Python from the official Python.org website and run the installer.
  2. Select the Add Python To PATH option (1) and click on Customize installation (2):
  3. Change the install location to a simpler path, e.g. C:\Python37:
  4. After finishing the installation, you might be required to restart Windows.
  5. Check if Python has been installed correctly by opening the Command Prompt (or PowerShell) and running: python --version

Linux

todo