Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outdated pypi repository #4

Closed
tiagoshibata opened this issue Sep 11, 2016 · 13 comments
Closed

Outdated pypi repository #4

tiagoshibata opened this issue Sep 11, 2016 · 13 comments

Comments

@tiagoshibata
Copy link
Contributor

Hi,

It seems that the pypi repo is a bit outdated. Building fails in Python 3, would you mind updating it?

Thanks!

@so-rose
Copy link

so-rose commented May 20, 2017

I second this request. OpenEXR in Python 3 would be a lifesaver.

@adynathos
Copy link

adynathos commented May 22, 2017

@so-rose

OpenEXR in Python 3 would be a lifesaver.

Of course having an updated PyPI package would be nice, but if you need to use it, it works when built from source.

@jamesbowman
Copy link
Owner

PyPI package updated to 1.3, which builds/regresses under 2.6, 2.7, 3.2 and 3.5:

https://pypi.python.org/pypi/OpenEXR/1.3.0

Closing.

@Amir-Arsalan
Copy link
Contributor

Amir-Arsalan commented Mar 21, 2018

@jamesbowman I did pip3 install openexr but I get some weird errors. Am I supposed to do something else before running the pip command? I am using Python 3.5.2

@jamesbowman
Copy link
Owner

Yes, that should work. In fact I just did it and it succeeded.
What platform are you on? What are the specific errors?

~ $ sudo pip3 install openexr
Downloading/unpacking openexr
  Downloading OpenEXR-1.3.0.tar.gz
...
    
Successfully installed openexr
Cleaning up...

@Amir-Arsalan
Copy link
Contributor

Amir-Arsalan commented Mar 21, 2018

@jamesbowman Here's shows what I get after pip3 install openexr:

1

@Amir-Arsalan
Copy link
Contributor

@jamesbowman It seems that some other people have the same issues [1], [2]

Did you try pip3 install openexr in Ubuntu or Windows? I am using Ubuntu

@so-rose
Copy link

so-rose commented Mar 21, 2018

@Amir-Arsalan ImathBox.h is one of the C++ header files used to compile OpenEXR. These header files are (implicitly) a dependency of the Python bindings on Linux, where pip likes to recompile anything you pip install.

The error suggests that you perhaps don't have these OpenEXR development files installed. This is easy to do in Ubuntu: Try installing the package libopenexr-dev using apt, then rerunning pip install.

@tiagoshibata
Copy link
Contributor Author

tiagoshibata commented Mar 21, 2018

You are missing OpenEXR's headers. Install them and OpenEXR's libraries and the Python wrapper will compile.

Edit: @so-rose was a bit faster 😆

@Amir-Arsalan
Copy link
Contributor

@so-rose @tiagoshibata Sorry maybe I should have mentioned that I did sudo apt-get install libopenexr-dev before doing pip3 install openexr but things still do not work. Could it be because libopenexr-dev works with Python 2?

@Amir-Arsalan
Copy link
Contributor

Amir-Arsalan commented Mar 21, 2018

I did a fresh Ubuntu install and things are fine now. I also had to do sudo pip install openexr otherwise I would get some other errors.

@Amir-Arsalan
Copy link
Contributor

@jamesbowman The OpenEXR repo has had new commits in the past few months. I wonder, are you planning to update the pypi package in a soon future?

@jamesbowman jamesbowman reopened this Aug 30, 2018
@jamesbowman
Copy link
Owner

Version 1.3.1 uploaded to PyPI. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants