/
How to install PIP for Jupyter

How to install PIP for Jupyter

If python 2.6 or older is installed

Jupyter requires Python 2.7 or 3.x. First upgrade Python.

Install Dependencies
sudo apt-get install build-essential checkinstall
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
Download and Extract Python
cd ~/Downloads/
wget http://python.org/ftp/python/2.7.5/Python-2.7.5.tgz
tar -xvf Python-2.7.5.tgz
Install
cd Python-2.7.5
./configure
make
sudo make install

Note: Use sudo make altinstall if you don't want this as your default Python version.

Assuming python 2.7 or 3.x is installed

Download and Install PIP
wget https://bootstrap.pypa.io/get-pip.py
Sudo -H python get-pip.py