Skip to content

Python Setup

Installation

OSX

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

EV3

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

PyPy

Pip for pypy installation notes are here.

sudo apt-get install curl pypy pypy-dev
curl https://bootstrap.pypa.io/get-pip.py | sudo pypy
sudo pypy -m pip install package_name