openexrpython
openexrpython copied to clipboard
undefined symbol: _ZTIN7Iex_2_27BaseExcE
pip3 install openexr
Using cached https://files.pythonhosted.org/packages/7c/c4/76bf884f59d3137847edf8b93aaf40f6257d8315d0064e8b1a606ad80b1b/OpenEXR-1.3.2.tar.gz
Building wheels for collected packages: openexr
Building wheel for openexr (setup.py) ... done
Stored in directory: /home/zn/.cache/pip/wheels/41/06/9f/c7dc838815b0e7dfc7d7dc19cc3d677edb47594d8489adc62a
Successfully built openexr
Installing collected packages: openexr
Successfully installed openexr-1.3.2
python
Python 3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 01:22:34)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import openexr
Traceback (most recent call last):
File ">>> import OpenEXR
Traceback (most recent call last):
File "
my pc is ubuntu 16 64bit, python3.6
same problem. Have you solved it?
Me too. The solution is deadly needed!
I have fixed this. Just make sure uninstall every pkgs/pip downloads/conda downloads of OpenEXR.
And then use pip --no-cache-dir install OpenEXR
instead to avoid downloading the former pkgs.
I tried but it didn't fixed same error for me. Below is my screen shot:
@humayun did you uninstall it also from conda? (conda remove openexr
)
Yes, I did uninstall it from Conda and PIP.
On MacOS with the same python version I hit similar errors and everything worked when installing with this command: pip install git+https://github.com/jamesbowman/openexrpython.git
@WHSnyder's workaroud works for me on Ubuntu 18.04 and Anaconda2019.10
I tried but it didn't fixed same error for me. Below is my screen shot:
Have you solved this problem
It is working with Python 2.* on Ubuntu machine.
pip install OpenEXR
I'm also getting this error. Not able to resolve it. Tried removing conda+pip packages and installing with:
pip install git+https://github.com/jamesbowman/openexrpython.git
Also tried:
pip --no-cache-dir install OpenEXR
I have openexr system package installed:
$ sudo apt-get install -y openexr
...
openexr is already the newest version (2.2.0-11.1ubuntu1.2).
Same problem on ubuntu 20.04 ... with python3.8
same problem here. -_- Trapped here for two days.
Stuck with Ubuntu 18.04 and python3.6. Any solutions or workaround ? Or anyone has some pointers?
Also having this issue :/
I solved it with: pip uninstall openexr than conda uninstall openexr than sudo apt-get remove -y openexr than sudo apt-get install -y openexr than pip install git+https://github.com/jamesbowman/openexrpython.git
yep dont know what solved it...but it did
A bit late, but just in case some people have the very similar undefined symbol: _ZTIN7Iex_2_37BaseExcE
:
I'm on ubuntu 20.04
sudo apt-get install openexr
installs version openexr_2.3.0-6ubuntu0.5_amd64.deb
which is not the most recent one.
Whereas conda installs openexr-2.5.5
Try:
$ pip uninstall openexr
$ conda install -c conda-forge openexr-python
(note that I did not apt uninstall, but conda finds the proper version I guess)
this works for me
https://github.com/jamesbowman/openexrpython/issues/28#issuecomment-557212292
your solution worked @matthieugendrin !
BTW, the community continued to develop the bindings, and the source is now in the OpenEXR repo itself, https://github.com/AcademySoftwareFoundation/openexr and on PyPi as https://pypi.org/project/OpenEXR/
I tried this approach, and worked in my case:
1- downgrade the Python package to 3.7 2- [Ubuntu]: sudo apt install libopenexr-dev 3- pip install OpenEXR==1.3.8