Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 14185

I have open cv library in my computer but when I am trying to import it is showing module not found error

$
0
0

i have installed the open cv library through pip command and it shows that requirement already satisfied but when i am trying to import it shows following error:Traceback (most recent call last):File "c:\Users\Ayush Thakur\Desktop\python projects\image matcher.py", line 1, in import cv2ModuleNotFoundError: No module named 'cv2'

while it also shows:PS C:\Users\Ayush Thakur> pip install opencv-pythonRequirement already satisfied: opencv-python in c:\users\ayush thakur\appdata\local\packages\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\localcache\local-packages\python311\site-packages (4.8.1.78)Requirement already satisfied: numpy>=1.21.2 in c:\users\ayush thakur\appdata\local\packages\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\localcache\local-packages\python311\site-packages (from opencv-python) (1.26.2)


Viewing all articles
Browse latest Browse all 14185

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>