I\'m on Ubuntu 16.04, and I get:
Traceback (most recent call last):
File \"/home/omermazig/.virtualenvs/fixi/bin/pip\", line 7, in
from
Take a loot at this (similar problem): https://github.com/pypa/pip/issues/5367
Possible fix:
Install the following dependencies:
sudo apt-get install zlib1g-dev (needed to compile Python)
and install:
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev (needed by Pip to make SSL requests)
/configure
make
make install
Full credit to jonbesga.