gabrieleilertsen / hdrcnn

HDR image reconstruction from a single exposure using deep CNNs
https://computergraphics.on.liu.se/hdrcnn/
BSD 3-Clause "New" or "Revised" License
508 stars 101 forks source link

pip install OpenEXR cannot be installed. #50

Open ourin0523 opened 3 years ago

ourin0523 commented 3 years ago

I'm sorry to bother you. I am very aware that this is not the kind of question I should be asking you. I can't install the "pip install OpenEXR" that prepares me to run your program. I get an error like this. If you know how to solve this problem, I would appreciate it if you could let me know.

gabrieleilertsen commented 3 years ago

Hi. I'm not sure what the problem is. There doesn't seem to be any specific information on what went wrong in the compilation, or at least that is not included in your screenshot. Have you installed the OpenEXR libraries before running the pip install? If you use mac OS you can install these with brew. However, if you don't have installed and linked OpenEXR you would probably get something like "fatal error: 'ImathBox.h' file not found" when you do pip install.

If you continue to have problems, I would recommend trying to get help through the OpenEXR github repo: https://github.com/AcademySoftwareFoundation/openexr

And for the Python bindings you can see: https://github.com/jamesbowman/openexrpython

haifangqin commented 3 years ago

have this issue been solved? I have been the same situation, the openexr can not be installed

xav-ie commented 2 years ago

You need to look into compiling openexr and lmath yourself: https://github.com/jamesbowman/openexrpython/issues/44#issuecomment-1231008327