Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Can not found zlib 1.2.9 #772

Copy link
Copy link
Closed
Closed
Copy link
@wqh17101

Description

@wqh17101
Issue body actions

System Information

OpenCV python version: 4.7.0.68 & 4.6.0.66
Operating System / Platform: Centos 7
Python version: 3.9.2

Detailed description

I install opencv-python==4.7.0.68 and got

[2023/01/04 10:30:57.244] Traceback (most recent call last):
[2023/01/04 10:30:57.244]   File "/home/xxx/source_code/xxx/OCR/pse/test.py", line 7, in <module>
[2023/01/04 10:30:57.244]     import cv2
[2023/01/04 10:30:57.244]   File "/usr/local/python3.9/lib/python3.9/site-packages/cv2/__init__.py", line 181, in <module>
[2023/01/04 10:30:57.244]     bootstrap()
[2023/01/04 10:30:57.244]   File "/usr/local/python3.9/lib/python3.9/site-packages/cv2/__init__.py", line 153, in bootstrap
[2023/01/04 10:30:57.244]     native_module = importlib.import_module("cv2")
[2023/01/04 10:30:57.244]   File "/usr/local/python3.9/lib/python3.9/importlib/__init__.py", line 127, in import_module
[2023/01/04 10:30:57.244]     return _bootstrap._gcd_import(name[level:], package, level)
[2023/01/04 10:30:57.244] ImportError: /lib64/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/local/python3.9/lib/python3.9/site-packages/cv2/../opencv_python.libs/libpng16-186fce2e.so.16.37.0)

However the same environment,it works well with opencv-python==4.6.0.66

Steps to reproduce

pip install opencv-python==4.7.0.68
and run import cv2

Issue submission checklist

  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
  • I updated to the latest OpenCV version and the issue is still there
  • There is reproducer code and related data files (videos, images, onnx, etc)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.