Traceback (most recent call last):


 "/usr/bin/pip", line 9, in <module>

load_entry_point('pip==1.5.6', 'console_scripts', 'pip')()


 "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 560, in load_entry_point

return get_distribution(dist).load_entry_point(group, name)


 "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2648, in load_entry_point

return ep.load()


 "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2302, in load

return self.resolve()


 "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2308, in resolve

module = __import__(self.module_name, fromlist=['__name__'], level=0)


 "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 74, in <module>

from pip.vcs import git, mercurial, subversion, bazaar
# noqa


 "/usr/lib/python2.7/dist-packages/pip/vcs/subversion.py", line 4, in <module>

from pip.index import Link


 "/usr/lib/python2.7/dist-packages/pip/index.py", line 17, in <module>

import html5lib, requests, pkg_resources


 "/usr/local/lib/python2.7/dist-packages/html5lib/__init__.py", line 16, in <module>

from .html5parser import HTMLParser, parse, parseFragment


 "/usr/local/lib/python2.7/dist-packages/html5lib/html5parser.py", line 2, in <module>

from six import with_metaclass, viewkeys, PY3
ImportError: cannot import name viewkeys

Traceback (most recent call last):


 "<stdin>", line 1, in <module>
ImportError: No module named psycopg2
