Expected behaviour
Updating from 4.3.0.36 to 4.3.0.38 should miss system libraries.
Actual behaviour
import cv2 breaks.
(opencv) root@619f7f2a9b63:/tmp/body# python -c "import cv2"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/opt/conda/envs/opencv/lib/python3.6/site-packages/cv2/__init__.py", line 5, in <module>
from .cv2 import *
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
(opencv) root@619f7f2a9b63:/tmp/body#
Steps to reproduce
Using a fresh python environment inside this container docker run -ti continuumio/miniconda3:4.7.12 /bin/bash:
conda create --name opencv python=3.6 pip=20 --yes
conda activate opencv
It works with previous release
(opencv) root@619f7f2a9b63:/tmp/body# pip install opencv-python==4.3.0.36
Collecting opencv-python==4.3.0.36
Using cached opencv_python-4.3.0.36-cp36-cp36m-manylinux2014_x86_64.whl (43.7 MB)
Collecting numpy>=1.11.3
Downloading numpy-1.19.1-cp36-cp36m-manylinux2010_x86_64.whl (14.5 MB)
|████████████████████████████████| 14.5 MB 2.8 MB/s
Installing collected packages: numpy, opencv-python
Successfully installed numpy-1.19.1 opencv-python-4.3.0.36
(opencv) root@619f7f2a9b63:/tmp/body# python -c "import cv2"
(opencv) root@619f7f2a9b63:/tmp/body#
last release breaks:
(opencv) root@619f7f2a9b63:/tmp/body# pip install opencv-python==4.3.0.38
Collecting opencv-python==4.3.0.38
Using cached opencv_python-4.3.0.38-cp36-cp36m-manylinux2014_x86_64.whl (49.3 MB)
Requirement already satisfied: numpy>=1.13.3 in /opt/conda/envs/opencv/lib/python3.6/site-packages (from opencv-python==4.3.0.38) (1.19.1)
Installing collected packages: opencv-python
Attempting uninstall: opencv-python
Found existing installation: opencv-python 4.3.0.36
Uninstalling opencv-python-4.3.0.36:
Successfully uninstalled opencv-python-4.3.0.36
Successfully installed opencv-python-4.3.0.38
(opencv) root@619f7f2a9b63:/tmp/body# python -c "import cv2"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/opt/conda/envs/opencv/lib/python3.6/site-packages/cv2/__init__.py", line 5, in <module>
from .cv2 import *
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
(opencv) root@619f7f2a9b63:/tmp/body#
Issue submission checklist
Expected behaviour
Updating from
4.3.0.36to4.3.0.38should miss system libraries.Actual behaviour
import cv2breaks.Steps to reproduce
Using a fresh python environment inside this container
docker run -ti continuumio/miniconda3:4.7.12 /bin/bash:It works with previous release
last release breaks:
Issue submission checklist
opencv-python