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

Camera does not initialyse with python 3.7.5 #11

Open
KejaPower opened this issue Sep 11, 2021 · 1 comment
Open

Camera does not initialyse with python 3.7.5 #11

KejaPower opened this issue Sep 11, 2021 · 1 comment

Comments

@KejaPower
Copy link

Hello,

I m able to initialize the camera when using python 3.6 but it's not working with python 3.7

The error code I get from camera.hasError(), is :

1 = Error: Could not initialize camera.

>>> import nanocamera as nano
>>> camera=nano.Camera(debug=True)
Traceback (most recent call last):
  File "/home/seller/.local/lib/python3.7/site-packages/nanocamera/NanoCam.py", line 163, in __open_csi
    raise RuntimeError()
RuntimeError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/seller/.local/lib/python3.7/site-packages/nanocamera/NanoCam.py", line 47, in __init__
    self.open()
  File "/home/seller/.local/lib/python3.7/site-packages/nanocamera/NanoCam.py", line 122, in open
    self.__open_csi()
  File "/home/seller/.local/lib/python3.7/site-packages/nanocamera/NanoCam.py", line 168, in __open_csi
    raise RuntimeError('Error: Could not initialize CSI camera.')
RuntimeError: Error: Could not initialize CSI camera.


@wetzlarb
Copy link

wetzlarb commented Sep 7, 2023

Having the same issue.. Did you find a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants