Skip to content
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

unable to import opencv-contrib-python-asenyaev 4.5.2, cant open (truncated) so #474

Closed
4 tasks done
miba2020 opened this issue Apr 30, 2021 · 6 comments
Closed
4 tasks done

Comments

@miba2020
Copy link

https://pypi.org/project/opencv-contrib-python-asenyaev/ link to this repository

Expected behaviour

import cv2 without exception

Actual behaviour

import cv2
Traceback (most recent call last):
File "", line 1, in
File "/home/renlifeng/wechat/lib/python3.6/site-packages/cv2/init.py", line 5, in
from .cv2 import *
ImportError: libpng15-c2ffaf3d.so.15.13.0: cannot open shared object file: No such file or directory

Steps to reproduce

  • example code: pip install opencv-contrib-python-asenyaev
  • operating system: ubuntu 18.04
  • architecture: amd64
  • opencv-python 4.5.2
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
@miba2020
Copy link
Author

  • setting LD_LIBRARY_PATH does not help
  • ldd cv2.cpython-36m-x86_64-linux-gnu.so said multiple so not found
    libpng15-c2ffaf3d.so.15.13.0 => not found
  • cp these .so to /usr/local/lib, and run ldconfig. get complains like:
    /sbin/ldconfig.real: file /usr/local/lib/libavcodec-8daa01ff.so.58.109.100 is truncated

@skvark
Copy link
Member

skvark commented Apr 30, 2021

That's not an official package.

@fanqie03
Copy link

@miba2020
Copy link
Author

miba2020 commented Apr 30, 2021

Sorry. Actually, I had hesitated for a while before filing this report.

I also tried to build from source use code and scripts of this repo, but ocv_download failed due to network problems, GFW.

By the way, when will version 4.5.2 be ready?

@miba2020
Copy link
Author

thanks! looking forward to your 4.5.2 release plan.

@skvark
Copy link
Member

skvark commented Apr 30, 2021

Please follow this issue for updates on 4.5.2: #459

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