Release versions of geni-lib are delivered via PyPI, but some system dependencies must be supplied, typically through the use of apt.
Python 2.7.x (http://www.python.org)
The above packages of course have their own dependencies which will be satisfied along the way.
The version of pip supplied via apt packages for Ubuntu 16.04 for Python 2.x is sufficiently broken that it is unlikely to be able to install geni-lib (or many other packages). The instructions below install pip outside of the package management system, using the most up-to-date installer. If you are already using virtualenv or otherwise maintain a sane Python environment you likely do not need to install a new pip.
$ sudo apt-get update $ sudo apt-get install --no-install-recommends python2.7 libxml2 libssl1.0.0 $ wget https://bootstrap.pypa.io/get-pip.py $ sudo python2.7 get-pip.py
$ pip install geni-lib
You may need to install with sudo if you are attempting to install system-wide.