- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to use the opencv-python-headless conda package for Python 3.9 on EL8 and getting the following:
Python 3.9.19 (tags/v3.9.19-26-g2d3a350f043-dirty:2d3a350f043, May 25 2024, 00:41:40)
[GCC 13.2.0] :: Intel Corporation on linux
(null)Type "help", "copyright", "credits" or "license" for more information.
Intel(R) Distribution for Python is brought to you by Intel Corporation.
Please check out: https://software.intel.com/en-us/python-distribution
>>> import cv2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/anaconda/envs/scipy39-intel/lib/python3.9/site-packages/cv2/__init__.py", line 181, in <module>
bootstrap()
File "/opt/anaconda/envs/scipy39-intel/lib/python3.9/site-packages/cv2/__init__.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/opt/anaconda/envs/scipy39-intel/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /opt/anaconda/envs/scipy39-intel/lib/python3.9/site-packages/cv2/cv2.abi3.so)
Is this package not supported for EL8?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The error message you're encountering suggests that the opencv-python-headless package is trying to use GLIBC_2.29, but your system's glibc version is older than that. Please consider opening this issue here: https://github.com/opencv/opencv/issues.
Regards,
Stef
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That is clearly the issue - but the cause is how it was compiled, not with the upstream source. So the issue would need to be resolved in how the package was built, which is presumably Intel's responsibility since it comes from the Intel conda repository.
Also, the package is also only available for Python 3.9, 3.10, and 3.11 - not 3.12. Is it really a supported package?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
It appears that opencv-python-headless is a dependency of another library that is not associated with the Intel® Distribution for Python*, and may have different system requirements. Consider installing it via the conda-forge channel instead. You can find more information about system requirements, recommended installation options, and the components included in the Intel® Distribution for Python* here. If you have any further questions about the Intel® Distribution for Python* or encounter any issues, please don’t hesitate to contact us.
Regards,
Stef

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page