importError: import cv2, included opencv-python-headless in requirements.txt

I don’t seem to have a typo. I believe I have requirements.txt in root directory
but I also use Pages folder to maintain pages and have Homepage.py as my starting point in root directory.

LINK: GitHub - whizAman/new
here is deployment link: https://whizaman-new-homepage-juusqh.streamlit.app/

Unfortunately, one of the pip packages enforces the installation of the non-headless version of opencv.
Then you also need these binary packages:

packages.txt

libgl1-mesa-glx
libglib2.0-0
1 Like

Thanks a lot @Franky1

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.