Saturday, January 31, 2015

Install pip on Raspberry Pi

pip is a recommended tool for installing Python packages.


To install pip for Python2 on Raspberry Pi:
$ sudo apt-get install python-pip

To install pip for Python3 (or Python3.2) on Raspberry Pi:
$ sudo apt-get install python3-pip

To install any package:
$ pip install package
for Python2.
or
$ pip-3.2 install package
for Python3.

To uninstall any package:
$ pip uninstall package
for Python2.
or
$ pip-3.2 uninstall package
for Python3.

1 comment:

Spazmus said...

Hey. How to install the latest version? for the year 2018