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 pocketsphinx installation on windows 567 5
python error handling 252 1
Python ModuleNotFoundError: No module named "selenium" 1064 1
python3 UnBoundLocalError: local variable referenced before assignment 627 1
Python ModuleNotFoundError: No module named PIL 3477 1
python pyAudio failed to install Windows 10 1076 1
Python program to put all word in a list from a string 196 1
Python program to convert string into a list 241 1
python AttributeError: Could not find PyAudio 1125 2
python ModuleNotFoundError: No module named pandas 13965 1
Python ImportError: numpy.core.multiarray failed to import 2114 2
ModuleNotFoundError: No module named "numpy" 2526 1
Python "chromedriver" executable needs to be in PATH 5494 1
Python ModuleNotFoundError: No module named "mysql" 1395 1
ModuleNotFoundError: No module named "pocketsphinx" 568 1
pip is not recognized as an internal or external command 2306 1
ModuleNotFoundError: No module named 790 7
Python Program to Find the Common Ancestor and Print the Path 295 2
ModuleNotFoundError No module named 45 8
Python The best way to determine exception type 230 1
Python IndentationError unindent does not match any outer indentation level 472 1
Python 3 ModuleNotFoundError No module named "cv2" 29769 3
Testing PurPose 221 10
Printing Without A Newline In Python2 182 2
Printing Without A Newline In Python3 207 2
Python Program to Search an Element in a Tree Non-Recursively 364 2
Python Program to Search an Element in a Tree Recursively 486 2
Python Program to Implement Doubly Linked List using Singly Linked List 241 2
Python Program to Find the Power of a Number Using Recursion 157 7
Python Program to Construct A Balanced Binary Tree using Sorted Array : 393 2
Find Numbers of even number in the given list Python Style 204 2

Comments