Skip to content

opencv-python 4.7.0.68 wheels does not solve the zlib issue #801

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

Closed
3 of 4 tasks
epeisach opened this issue Feb 21, 2023 · 2 comments
Closed
3 of 4 tasks

opencv-python 4.7.0.68 wheels does not solve the zlib issue #801

epeisach opened this issue Feb 21, 2023 · 2 comments

Comments

@epeisach
Copy link

Expected behaviour

import cv2

should work

Actual behaviour

import cv2
Traceback (most recent call last):
File "", line 1, in
File "/wwpdb_da/da_top/wwpdb_python/lib/python3.8/site-packages/cv2/init.py", line 181, in
bootstrap()
File "/wwpdb_da/da_top/wwpdb_python/lib/python3.8/site-packages/cv2/init.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/wwpdb_da/da_top/tools/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: /lib64/libz.so.1: version `ZLIB_1.2.9' not found (required by /data/wwpdb_da/da_top/wwpdb_python/lib/python3.8/site-packages/cv2/../opencv_python.libs/libpng16-186fce2e.so.16.37.0)

Steps to reproduce

Centos-7 O/S
Compiled python 3.8
pip install python-opencv

python
import cv2

Issue submission checklist
  • This is not a generic OpenCV usage question (looking for help for coding, other usage questions, homework etc.)
  • I have read the README of this repository and understand that this repository provides only an automated build toolchain for OpenCV Python packages (there is no actual OpenCV code here)
  • The issue is related to the build scripts in this repository, to the pre-built binaries or is a feature request (such as "please enable this additional dependency")
  • I'm using the latest version of opencv-python
@wqh17101
Copy link

@epeisach dumplicate #772

@wqh17101
Copy link

The reason it that there is no zlib >=1.2.9 in you system.

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

3 participants