Compile OpenExr lib for Python

Hi everybody
I want to write a quick python script to convert exr format to jpg, and the openExr look very promising.
http://www.excamera.com/sphinx/articles-openexr.html

They have guide to install on Mac and Linux, but not Window, i been searching around internet too, but no luck.
Anyone gone through this yet? Thanks :wink:

So if you don’t need these to work inside Maya.

You should be able to download a version here http://www.lfd.uci.edu/~gohlke/pythonlibs/

Though it looks like its included in the PyAlembic installer, but not by itself. Very weird.

If you do need this to work in Maya, you’ll need to get the source, and proper build-chain up and running and then compile it yourself.

Hi R.White
I go into this page too, but don’t know how or where to get files, can you give me more detail please? I don’t know much outside of python
Thank

You can get binaries here :
http://www.kaij.org/blog/?p=123
OpenEXR are bindings for ILM’s OpenEXR image file format.

OpenEXR-1.2.0.win-amd64-py2.6.*exe [739 KB]  [Python 2.6]  [64 bit]  [Jul 09, 2011]
OpenEXR-1.2.0.win-amd64-py2.7.*exe [739 KB]  [Python 2.7]  [64 bit]  [Jul 09, 2011]
OpenEXR-1.2.0.win32-py2.6.*exe [644 KB]  [Python 2.6]  [32 bit]  [Jul 09, 2011]
OpenEXR-1.2.0.win32-py2.7.*exe [644 KB]  [Python 2.7]  [32 bit]  [Jul 09, 2011]

Get the right version and install it then import OpenEXR
enjoy !

Kaij’s page links back to pythonlibs. Looks like the guy no longer host the file himself.

Installing the ones provided here may be a better option. Looks like it requires VS 2008 Express to fix the error vcvarsall.bat not found.

http://www.excamera.com/sphinx/articles-openexr.html