ModuleNotFoundError: No module named 'OpenEXr'

1.8k Views Asked by At

I want to work with OpenEXr package on python but I couldn't import it on both python 2.7 and 3.8 :

Python 3.8.10 (default, Mar 15 2022, 12:22:08) 
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import OpenEXr
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'OpenEXr'
>>> 

Python 2.7.18 (default, Mar  8 2021, 13:02:45) 
[GCC 9.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import OpenEXr
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named OpenEXr
>>> 

I tried to install it using :

pip install openexr

pip3 install openexr

sudo apt install libopenexr-dev

But with no success. I'm on ubuntu 20.04. Any solutions to that?

EDIT:

python3 -m pip show openexr

Name: OpenEXR
Version: 1.3.2
Summary: Python bindings for ILM's OpenEXR image file format
Home-page: http://www.excamera.com/sphinx/articles-openexr.html
Author: James Bowman
Author-email: [email protected]
License: UNKNOWN
Location: /home/jros/.local/lib/python3.8/site-packages
Requires: 
Required-by:

pip version

pip --version

pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)
0

There are 0 best solutions below