-
Notifications
You must be signed in to change notification settings - Fork 897
ImportError: libIlmImf-2_5.so.25: cannot open shared object file: No such file or directory #551
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
Comments
@neuron-whisperer, I tried to reproduce your problem on RPi with Buster, and opencv-python was built successfully and works without any issues. What I have done:
And then started Python and run However, another problem is that in opencv-python wheel for RPi, it does not install a wheel, but building from source. I have created an issue about it: #562. I am going to find the source of this problem and fix it. |
I tried doing exactly what you did:
...and what I get is this:
Please advise. |
Building numpy using the command above also failed: `python3 -m pip install numpy==1.19.3 Collecting numpy==1.19.3 blis_info: openblas_info: atlas_3_10_blas_threads_info: atlas_3_10_blas_info: atlas_blas_threads_info: atlas_blas_info: accelerate_info: /tmp/pip-install-wck0bqml/numpy_ea1daee9ca6c4a329b42d6064a0f0efb/numpy/distutils/system_info.py:1914: UserWarning: /tmp/pip-install-wck0bqml/numpy_ea1daee9ca6c4a329b42d6064a0f0efb/numpy/distutils/system_info.py:1914: UserWarning: /tmp/pip-install-wck0bqml/numpy_ea1daee9ca6c4a329b42d6064a0f0efb/numpy/distutils/system_info.py:1914: UserWarning: non-existing path in 'numpy/distutils': 'site.cfg' openblas_lapack_info: openblas_clapack_info: flame_info: atlas_3_10_threads_info: atlas_3_10_info: atlas_threads_info: atlas_info: lapack_info: /tmp/pip-install-wck0bqml/numpy_ea1daee9ca6c4a329b42d6064a0f0efb/numpy/distutils/system_info.py:1748: UserWarning: /tmp/pip-install-wck0bqml/numpy_ea1daee9ca6c4a329b42d6064a0f0efb/numpy/distutils/system_info.py:1748: UserWarning: numpy_linalg_lapack_lite: /home/hesperosaurus/.pyenv/versions/3.10.0/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros' Warning: Using unoptimized lapackbuilding extension "numpy.linalg._umath_linalg" sources Warning: Using unoptimized lapackbuilding extension "numpy.random._mt19937" sources creating build/temp.linux-armv7l-3.10 creating build/temp.linux-armv7l-3.10/build/src.linux-armv7l-3.10/numpy/core/src/npysort creating build/temp.linux-armv7l-3.10/numpy/random creating build/temp.linux-armv7l-3.10/build/src.linux-armv7l-3.10/numpy/core/src/multiarray creating build/temp.linux-armv7l-3.10/numpy/core/src/multiarray
|
Numpy build fails according to the log. It looks like you have multiple numpy versions on your system or some other build environment issues. It's out of OpenCV scope. |
i have the same problem . Traceback (most recent call last): I performed a clean installation for numpy , but the error persists . |
Expected behaviour
Installed OpenCV on Raspberry Pi 4 using fully updated Buster. Expected OpenCV to import successfully.
Actual behaviour
"ImportError: libIlmImf-2_5.so.25: cannot open shared object file: No such file or directory"
Steps to reproduce
(1) Obtain Raspberry Pi 4
(2) Install Buster
(3) Fully update Buster via sudo apt-get upgrade
(4) Install Python 3 via pyenv
(5) python -m pip install opencv-python (or opencv-python-headless)
(6) Start Python and import cv2
Issue submission checklist
opencv-python
The text was updated successfully, but these errors were encountered: