Unable to import cv2

I imported cv2 but it is showing; No module named ‘cv2’

Hey @stutijain578, did you install opencv library ? If no , then please install it using the following command in the anaconda prompt :

conda install -c conda-forge opencv 

Hope this helps !
Happy coding :slight_smile:

does the same command hold for mac as well?

Yes yes just write this in terminal.

how to put one image on another?

I would be happy to help. Can you please ask this as a separate query on the portal ? I hope your error of : No module named cv2 has been resolved ! :slight_smile:

Happy Learning :slight_smile:

yes
and this also got resolved :sweat_smile: