How to install opencv in Python 3.10

preview_player
Показать описание
In this video, I will show you how to install OpenCV in python 3.10 on windows 10 and windows 11.

In this video, we will use pip command to install opencv

command:- pip install opencv-python

learn about opencv from below link :-

opencv (4.5.5) latest version link

python (3.10.2) latest version link

#install #opencv #python #3.10
Рекомендации по теме
Комментарии
Автор

Cuando hago lo de cv2 version, me aparece este mensaje AttributeError: module 'cv2' has no attribute 'version'.

joselagunas
Автор

short easy and 100% successful thank you

shnrwekathim
Автор

Thanks. In my case Windows asked about Microsoft Visual Studio and the opencv was not installed. Do you know why?

robsonesteves
Автор

at 2:16 when I used cmd while i paste that comand (CMD) it shows 'pip' is not recognized as an internal or external command,

operable program or batch file.
what should I do

ahmadikramsharipudin
Автор

i have installed both opencv and numpy on command prompt, but when i go back to IDLE Shell to run 'import cv2', it still says error (red lines).

Have any idea how to solve it?

sayedarifhakimi
Автор

i did everythong right. even opencv was installed. import cv2 lso worked. but the command "print(cv2._version) did not work and gave the same error as i got in my code.

blaisegonsalves
Автор

After install i do dont have option to load cv2,
I try imported but python send me message to I have a not module.
What i should to do ?

dejfd
Автор

Trying to install and keep getting same error
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Python311\Scripts\pip.exe\__main__.py", line 4, in <module>
ModuleNotFoundError: No module named 'pip'


Anyone have a solution? (ik this is old but. I have hope.)

DustbunniesCo
Автор

thanks, now I can show a picture of shrek in python

codefortl
Автор

What to do if it is not opening in command

harshuchethu
Автор

thanks bro but why u are not uploading video's now u are intelligent...❤💖

kutubahemad
Автор

I had written 'pip install opencv-python' but it can not work, it had problem 'pip is not recognized as an internal or external comand, operable program or batch file' how i can solve it?

thantiet
Автор

I have written pip install opencv-python, but it doesnt change anything. Do you know how to solve it?

salmaamalia
Автор

Hello, I downloaded opencv python on command prompt .However I see the below error.

import cv2
print(cv2._version_)
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
print(cv2._version_)
AttributeError: module 'cv2' has no attribute '_version_'

MrLalitmohanta
Автор

'!pip' is not recognized as an internal or external command,
operable program or batch file. - I am getting this error after typing pip install python cv in command prompt what should I do?

atharvaadep
Автор

Hi...my python is 3.10 and opencv is installed but in Spyder, when I call import cv2, it show " no module named cv2" ..why??

viniskyredborges
Автор

hello i faced this problem?

[notice] A new release of pip available: 22.3.1 -> 23.0.1
[notice] To update, run: python.exe -m pip install --upgrade pip

mithatozbag