Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] #61

Open
Rusali28 opened this issue Mar 21, 2023 · 2 comments
Open

[BUG] #61

Rusali28 opened this issue Mar 21, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Rusali28
Copy link

Rusali28 commented Mar 21, 2023

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
Screenshot from 2023-03-16 15-37-54

Additional context
Add any other context about the problem here.

@Rusali28 Rusali28 added the bug Something isn't working label Mar 21, 2023
@emrecvdr20
Copy link

Rusali hi,
Same problem ı am
Do you find solutions anywhere?

@Rusali28
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants