Before installing the Python authentication library on Ubuntu, Veracode recommends that you uninstall any system-installed version of pip and, then, install the latest version of pip. Veracode also recommends that you uninstall any system-installed version of HTTPie.
sudo apt-get remove python-pip
sudo easy_install pip
sudo apt-get purge httpie
You can now install the Python authentication library. See Install the Python Authentication Library.