No module named : ‘cv2’ in Python

Posted by

import cv2 as cv

ImportError: No module named ‘cv2’

This is the error because there may be the cv2 module is not installed properly.

In Windows 10 you can install it as

pip install opencv-python

this will allow you to import cv2 module.

To install the latest stable version you can go:- https://pypi.org/project/opencv-python/ here.

That’s It. Thank You.

I  have written the same article on  Medium  as well. 

If you also wish to share your knowledge with the TheCodeSpace fam kindly share your thoughts/article on rajparmar2308@gmail.com.

One comment

Leave a Reply

Your email address will not be published. Required fields are marked *