jason @ he

Installing PIP

Around Python 3.6, installing PIP and setting up virtual environments became much more difficult.

These instructions may not work on your server.

PIP is installed with a python script.

Downloading the Installer

The pip installer is a python script. Download it and run it with python.

Installation Script

Run the following command to download and install pip into ~/.local/bin/:

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
  && python3 get-pip.py --user

Installing Python Packages

Now that pip is installed, installing python packages is easy.

Install NumPy

Install packages by invoking the pip module.

$ python3 -m pip install --user numpy
Installing collected packages: numpy
Successfully installed numpy-1.16.2
$ 
Back to Article Listings
Glossary