Open SilvioJin opened 5 years ago
This happens to me when trying to build in OS X as well (the first issue, where basic imports like
I wrote a fix for the first issue you described, the standard library not being found. It will work with a vanilla brew installation of ilmbase and openexr. Does it work on your end?
I still have the same issue...
This might help. But probably not. If you download the package
pip download openexr
and then modify setup.p
to have the following line:
include_dirs=['/usr/include/OpenEXR', '/usr/local/include/OpenEXR', '/opt/local/include/OpenEXR', '/usr/local/Cellar/imath/3.0.4/include/Imath'],
then you should be able to intall from the folder:
pip insatll .
After this, it shouldn't complain about IMathBox.h
anymore. Instead there will be other issues which are probably related to #42
I'm trying to install openexr for python, so I first started with installing and building this repo (following the instructions as mentioned in here, I downloaded the repo and followed the TLDR part) and it installs and builds correctly (although I had to do
brew uninstall boost-python
).Then I did
pip install openexr
and this was the error:
So I went into
/usr/local/include
and I noticed that OpenEXR was the only directory that was physically there and not symbolically linked to a directory in/usr/local/Cellar
.Why is that?
Then just to try, I moved the OpenEXR directory (that contains the .h files like ImathBox.h) from
/usr/local/include
to/usr/local/Cellar
and created a link in/usr/local/include
.Then I tried again
pip install openexr
and the result was slightly different:
The ImathBox.h file is inside the OpenEXR directory though.
I found someone with a similar error here but the suggested solutions didn't work for me. When doing
$ easy_install -U openexr
it gives basically the same error:
11 had a similar problem, but none of the suggestions worked for me:
I tried as mentioned here
brew install openexr
which was successful and thensudo pip install openexr
but got the same errorCan anyone help?
I'm using: MacOS 10.14.5 Python 3.6.5