I have successfully installed openexr using pip install openexr
on my mac, but the same command fails on Ubuntu:
OpenEXR.cpp:9:22: fatal error: ImathBox.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for openex
I tried using apt-get install openexr
which seems like to install without an error but then when I try to import OpenEXR
in python, it doesn't work.
Does anyone know why?
You need to install the apt package "libopenexr-dev" this will resolve the pip issue.
I didn't have this issue on the mac, a "brew install openexr" must've installed the headers also.