Python 3 ModuleNotFoundError No module named "cv2"














































Python 3 ModuleNotFoundError No module named "cv2"



Python 3 ModuleNotFoundError: No module named 'cv2'

If you are working on OpenCV and you were getting this error :
If you are Window user
1. then , run the following Command in command_prompt.

python -m pip install --upgrade pip

2. and then install OpenCV-python

pip install opencv-python

If You are using anaconda then run the following Commands
1. Update conda-navigator:

conda update anaconda-navigator  
conda update navigator-updater  
2. Install OpenCV-python or check this :

conda install -c conda-forge opencv

Or if you are using Linux to  run following command:

sudo pip3 install opencv-python

or

sudo apt install python-opencv


More Articles of Abhishek Kushwaha:

Name Views Likes
Python ModuleNotFoundError: No module named "mysql" 9531 1
python error handling 674 1
Python "chromedriver" executable needs to be in PATH 14196 1
python pyAudio failed to install Windows 10 4606 1
python AttributeError: Could not find PyAudio 3689 2
Python program to convert string into a list 671 1
Python ImportError: numpy.core.multiarray failed to import 4841 2
Python The best way to determine exception type 600 1
Python ModuleNotFoundError: No module named PIL 8904 1
Python 3 ModuleNotFoundError No module named "cv2" 47896 4
ModuleNotFoundError No module named 45 8
ModuleNotFoundError: No module named "pocketsphinx" 3074 1
ModuleNotFoundError: No module named "numpy" 5050 1
Python IndentationError unindent does not match any outer indentation level 1114 1
Printing Without A Newline In Python2 571 2
pip is not recognized as an internal or external command 5313 1
Python Program to Search an Element in a Tree Non-Recursively 998 2
Find Numbers of even number in the given list Python Style 602 2
Python Program to Find the Power of a Number Using Recursion 534 7
Python Program to Search an Element in a Tree Recursively 1826 2
Python ModuleNotFoundError: No module named "selenium" 3087 1
python ModuleNotFoundError: No module named pandas 22421 1
Python Program to Construct A Balanced Binary Tree using Sorted Array : 1406 2
Python Program to Implement Doubly Linked List using Singly Linked List 762 2
Testing PurPose 626 10
Python Program to Find the Common Ancestor and Print the Path 829 2
Python program to put all word in a list from a string 563 1
python pocketsphinx installation on windows 4471 5
Printing Without A Newline In Python3 641 2
ModuleNotFoundError: No module named 1637 7
python3 UnBoundLocalError: local variable referenced before assignment 1793 1

Comments