KA Lite install breaks PIP

Summary

Florian HESLOUIN reported that KA Lite version 0.16.8 install breaks PIP on Debian Jessie system, and found the solution for it!

Short time work around

mv /usr/local/lib/python2.7/dist-packages/requests /usr/local/lib/python2.7/dist-packages/requests.old/
mv /usr/local/lib/python2.7/dist-packages/requests-1.1.0-py2.7.egg-info /usr/local/lib/python2.7/dist-packages/requests-1.1.0-py2.7.egg-info.old

Long time work around

apt-get remove --purge -y python-pip && easy_install -U pip

Solution

  1. sudo pip install --upgrade pip to install pip 8.1.2.
  2. Logout/login from the CLI and pip --version should show 8.1.2.
  3. pip --no-cache-dir install ka-lite, with --no-cache-dir option that can be useful if you get a memory error.

Thank you for reporting the solution to this issue, Florian! :slight_smile: :thumbsup: