CSI-Camera
CSI-Camera copied to clipboard
[BUG]
Describe the issue
The python code works when I type python3 camtry.py.
It gives error when I type python3.9 camtry.py
What version of L4T/JetPack L4T/JetPack version: 4.6.3
What version of OpenCV OpenCV version: 4.1.1 (Python 3) ; 4.7.0 (Python3.9)
Python Version Python version if applicable: Python 3.6 (this works for code), Python 3.9 (this does not work for code)
To Reproduce
Steps to reproduce the behavior:
For example, what command line did you run?
python3 camtry.py
python3.9 camtry.py
Expected behavior Expected the camera to work on python3.9 just as it worked on python3.
If anyone is able to figure this out, please help me understand

Additional context Add any other context about the problem here.
Rusali hi, Same problem ı am Do you find solutions anywhere?
Hello @emrecvdr20 , I tried many ways and then adopted my code to run on Python 3.6 itself. The issue is related to the OpenCV version on Python3.9. If you still want to run it on Python3.9, I would suggest to look up for a suitable Opencv version that is compatible with the camtry.py file and then manually install it on your Python3.9 environment.
All the best!