Borda / docker_python-opencv-ffmpeg

Dockerfile containing FFmpeg, OpenCV4 and Python2/3, based on Ubuntu LTS

Home Page:https://hub.docker.com/r/borda/docker_python-opencv-ffmpeg/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cv2 import error

fgksgf opened this issue · comments

  • Docker image: borda/docker_python-opencv-ffmpeg:gpu-py3.7-cv4.4.0
>>> import cv2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.7/dist-packages/cv2/__init__.py", line 96, in <module>
    bootstrap()
  File "/usr/local/lib/python3.7/dist-packages/cv2/__init__.py", line 86, in bootstrap
    import cv2
ImportError: libQt5Core.so.5: cannot open shared object file: No such file or directory