import cv2
Hi, I'm getting importError: libGL.so.1: cannot open shared object file: No such file or directory. I'm trying to deploy my Django opencv application.
My project ID = e4355998-e5df-4dce-87d4-1d9edff5ca30
5 Replies
Project ID:
e4355998-e5df-4dce-87d4-1d9edff5ca30
Solution
use
opencv-python-headless
insteadI tried the headless flag. From what I just found out, opencv-contrib-python is installed by mediapipe, which is one of the dependencies in requirements.txt. How do I override the installation of opencv-contrib-python with opencv-contrib-python-headless.
Also, during my build, I am getting the ERROR: failed to solve: process "/bin/sh -C apt-get update --yes --quiet && apt-get install --yes --quiet -no-install-recommends <list of packages>
I need help.
I built a Dockerfile to deal with the automatic import of opencv-contrib-python by mediapipe. I'm currently having a ModuleNotFoundError: No module named 'palmrecognition'. palmrecognition is the name of my Django project. I can't run manage.py from the Dockerfile too. Please help me, I have been stuck here all day.
Project ID:
e4355998-e5df-4dce-87d4-1d9edff5ca30
Solvedawesome, I'm glad you solved it while I was sleeping lol
Hi Lekia, looks like I am in the exact same situation
wondering how can I override the installation of opencv-contrib-python with opencv-contrib-python-headless. need help