Getting Error installing requirements while deploying cv2 app

While deploying my cv2 app, i am getting this error . Already I solved this error using packages.txt but after some minutes , i got the same error.

anyone help me to solve this error ?

app link -
public repo - GitHub - swaminathan33/faceattendance



Error installing requirements.

Click “Manage App” and consult the terminal for more details.

If you still have questions, leave a message in our forums and we will get back to you ASAP.

E: Unable to locate package opencv-python
[11:15:26] ❗️ installer returned a non-zero exit code
[11:15:26] ❗️ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[11:17:02] ❗️ Streamlit server consistently failed status checks
[11:17:02] ❗️ Please fix the errors, push an update to the git repo, or reboot the app.

Remove opencv-python from it

Besides this issue, your app will not work on streamlit cloud anyway:

camera = cv2.VideoCapture(0)

…will not work

myclient = pymongo.MongoClient("mongodb://localhost:27017/")

…will not work

Thanks for your response.
shall you recommend me, where I can deploy this app?
or are there any other ways I use those features on Streamlit?

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