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" 9998 1
python error handling 765 1
Python "chromedriver" executable needs to be in PATH 16327 1
python pyAudio failed to install Windows 10 4794 1
python AttributeError: Could not find PyAudio 3826 2
Python program to convert string into a list 753 1
Python ImportError: numpy.core.multiarray failed to import 5062 2
Python The best way to determine exception type 705 1
Python ModuleNotFoundError: No module named PIL 9052 1
Python 3 ModuleNotFoundError No module named "cv2" 48448 4
ModuleNotFoundError No module named 45 8
ModuleNotFoundError: No module named "pocketsphinx" 3717 1
ModuleNotFoundError: No module named "numpy" 5240 1
Python IndentationError unindent does not match any outer indentation level 1290 1
Printing Without A Newline In Python2 667 2
pip is not recognized as an internal or external command 5527 1
Python Program to Search an Element in a Tree Non-Recursively 1129 2
Find Numbers of even number in the given list Python Style 676 2
Python Program to Find the Power of a Number Using Recursion 617 7
Python Program to Search an Element in a Tree Recursively 1932 2
Python ModuleNotFoundError: No module named "selenium" 3213 1
python ModuleNotFoundError: No module named pandas 22764 1
Python Program to Construct A Balanced Binary Tree using Sorted Array : 1552 2
Python Program to Implement Doubly Linked List using Singly Linked List 860 2
Testing PurPose 730 10
Python Program to Find the Common Ancestor and Print the Path 933 2
Python program to put all word in a list from a string 653 1
python pocketsphinx installation on windows 5050 5
Printing Without A Newline In Python3 738 2
ModuleNotFoundError: No module named 1765 7
python3 UnBoundLocalError: local variable referenced before assignment 1916 1

Comments

  • jh fs
    3-Feb-2024 08:18:07 PM
    China attracts patients from around the world seeking hair transplant procedures. The diversity of patients allows for a rich exchange of experiences and knowledge. Many hair transplant clinics in China have English-speaking staff members and cater to international hair transplant in china cost patients, providing a comfortable and inclusive environment for individuals from different backgrounds.