Skip to content

opencv-python-headless depends on windows media feature pack after 4.7 update #771

Open
@matteoaletti

Description

@matteoaletti

Expected behaviour

On previous version (4.6.0.66) of opencv-python-headless, the package did not depend on windows media feature pack.

>> pyi-bindepend.exe "C:\Users\user\anaconda3\envs\cv246\Lib\site-packages\cv2\cv2.pyd"
C:\Users\user\anaconda3\envs\cv246\Lib\site-packages\cv2\cv2.pyd {'WSOCK32.dll', 'ole32.dll', 'KERNEL32.dll', 'OLEAUT32.dll', 'python3.dll'}

Actual behaviour

More recently (4.7.0.68) of opencv-python-headless, the package depends on windows media feature pack that is not available in windows docker image (windows/servercore:ltsc2019) .

>> pyi-bindepend.exe "C:\Users\user\anaconda3\envs\cv247\Lib\site-packages\cv2\cv2.pyd"
C:\Users\user\anaconda3\envs\cv247\Lib\site-packages\cv2\cv2.pyd {'MFReadWrite.dll', 'MF.dll', 'MFPlat.DLL', 'OLEAUT32.dll', 'KERNEL32.dll', 'SHLWAPI.dll', 'ole32.dll', 'WSOCK32.dll', 'python3.dll'}

Steps to reproduce

I have installed opencv-python-headless in a conda python 3.9 environment with

pip install opencv-python-headless

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions