I tried on python3 terminal ;
pi@raspberrypi:~ $ python3
Python 3.7.3 (default, Dec 20 2019, 18:57:59)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
>>>
It seems nothing wrong But i want to run my py file
pi@raspberrypi:~ $ sudo python /home/pi/berber/ornek.py
Traceback (most recent call last):
File "/home/pi/berber/ornek.py", line 1, in <module>
import cv2
ImportError: No module named cv2
Terminal says you dont have cv2. But if i dont have cv2 python3 command cant import cv2. How can i fix this problem