How do you install mqttwarn?

I just set-up OpenHab & have a little dangerous rPi knowledge. I am trying to install mqttwarn thru putty but not sure if this is the way to go or not. I’ve used the following commands but think I might be in the wrong place?
pip install paho-mqtt
git clone

response to my pip command
Traceback (most recent call last):
File “/usr/bin/pip”, line 9, in load_entry_point(‘pip==1.5.6’, ‘console_scripts’, ‘pip’)()
File “/usr/lib/python2.7/dist-packages/”, line 356, in load_entry_point return get_distribution(dist).load_entry_point(group, name)
File “/usr/lib/python2.7/dist-packages/”, line 2476, in load_entry_point return p.load()
File “/usr/lib/python2.7/dist-packages/”, line 2190, in load [‘name’])
File “/usr/lib/python2.7/dist-packages/pip/”, line 74, in
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File “/usr/lib/python2.7/dist-packages/pip/vcs/”, line 9, in
from import path_to_url
File “/usr/lib/python2.7/dist-packages/pip/”, line 25, in
from requests.compat import IncompleteRead
ImportError: cannot import name IncompleteRead

Can someone please point me in the right direction? I want to alos install supervisor & Pimoroni Explorer

Try running as root using sudo

sudo pip ...

Thanks for your help, sudo gives me same result

Well, given that neither pip nor mqttwarn are maintained by the openHAB community you might have more luck posting over on the mqttwarn project.