Installing imposm
So, according to the imposm docs:
Imposm runs with Python 2.5, 2.6 and 2.7 and is tested on Linux and Mac OS X. Other dependencies are:
psycopg2: PostgreSQL adapter for Python
Tokyo Cabinet: File-based key-value database for the internal cache