Could not find a version that satisfies the requirement cv2

The app has the following error:

Please tell me how to solve it. It’s better to provide screenshots. Thank you!

Welcome to the community!
This is too little information to give any advice.
Please share a link to your public github repo.

There is no cv2 package that you can install. You probably want opencv-python-headless or opencv-contrib-python-headless .

1 Like

The link is:

Hi @xxy0717 :wave:

As Goyo pointed out earlier, you need to add opencv-python-headless to your requirements.txt file, as you’ve done for numpy, Pillow, etc. Once you do so, you should no longer run into the error:

I don’t see any dependencies to cv2/opencv in your application.

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