Skip to content

Python Setup



Python on OSX

Installation details are here.

Python3 requires gcc, which you can get by installing XCode or Command Line Tools.

Install python3 and pip3

brew install python3


Install python3 and pip3

sudo apt-get install python3
sudo apt-get install python3-pip

Package Management

Determine installed packages

pip list 

Determine outdated packages

pip list --outdated

Install a package

pip install pkg_name

Update a package

pip install --upgrade pkg_name


Pip for pypy installation notes are here.

sudo apt-get install curl pypy pypy-dev
curl | sudo pypy
sudo pypy -m pip install package_name