Install OpenEXR for Python

Using OpenEXR’s Python bindings we can make a simple image viewer.
So, we should install OpenEXR first, following OpenEXR bindings for Python
Make sure you have already installed OpenEXR’s Prerequisite: Python 2.5+ and the OpenEXR C++ library(openexr).

wget http://excamera.com/files/OpenEXR-1.2.0.tar.gz

tar zxvf OpenEXR-1.2.0.tar.gz

cd OpenEXR-1.2.0

(sudo python2 setup.py build)

sudo python2 setup.py install

Then, we can follow OpenCV and OpenEXR

References: Python how to install setup.py