Modulenotfounderror for importing opencv

i’m deploying a web app through streamlit-- when i test it out locally, it works fine, but once i try deploying it, I get a modulenotfound error.

heres my github: https://github.com/anony-mouse1/workout-wizard/blob/master/workouts.py

Hi @Fatimah_Hussain,

Thanks for posting!

So, CV2 requires some binaries to be installed which go in packages.txt as they are not python modules.

See solution:

Hi,

It’s giving me import errors for all the packages I’m trying to import. See the below error message for more details:

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