How to use OpenEXR bindings for Python with Blender 2.6

I want to use the OpenEXR bindings for Python from within Blender 2.6 under Windows 7 to access OpenEXR images created with blender and make some calculation with the z-buffer value.
I got the code from, but i don’t know how to get it to work together with Blender 2.6 to finally be able to
import OpenEXR

in my Blender python scripts. Any help would be great.


To my knowledge, those bindings only work with Python 2.x. So, for them to work in Blender, you’ll have to call a python 2 subprocess.