Python Setup - PolyglotDevsLondon/setup GitHub Wiki
Make sure you have all pre-requisites installed.
OSX
- Install Python:
brew install python
(Python 3) - Insert the Homebrew directory at the top of your PATH environment variable by updating your
~/.bash_profile
withexport PATH=/usr/local/bin:/usr/local/sbin:$PATH
Homebrew installs pip which is the Python package manager. - Check if Python is installed by running the following command in the terminal:
python --version
Windows
- Download the latest version of Python from the official Python.org website and run the installer.
- Select the Add Python To PATH option (1) and click on Customize installation (2):
- Change the install location to a simpler path, e.g.
C:\Python37
: - After finishing the installation, you might be required to restart Windows.
- Check if Python has been installed correctly by opening the Command Prompt (or PowerShell) and running:
python --version
Linux
todo