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

pylepton_overlay error Raspbian Bullseye #71

Open
mpv1953 opened this issue May 25, 2022 · 2 comments
Open

pylepton_overlay error Raspbian Bullseye #71

mpv1953 opened this issue May 25, 2022 · 2 comments

Comments

@mpv1953
Copy link

mpv1953 commented May 25, 2022

I am trying to run ./pylepton_overlay on Raspbian Bullseye (32bit). Python is the system default v3.9.2. I get this error in execution:

File "/home/pi/projects/pylepton/./pylepton_overlay", line 26, in main
o = camera.add_overlay(np.getbuffer(a), size=(320,240), layer=3, alpha=int(alpha), crop=(0,0,80,60), vflip=flip_v)
File "/usr/lib/python3/dist-packages/numpy/init.py", line 214, in getattr
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'getbuffer'

I looked around and see that Python3 "numpy" really does not have a 'getbuffer' function. Is there a workaround for this, or an update that will run on Bullseye?

Regards,
Mike Vergara

@fmba343
Copy link

fmba343 commented Dec 6, 2024

im having the same issue. Did you ever get it resolved. thank you

@mpv1953
Copy link
Author

mpv1953 commented Dec 6, 2024

No, I never got past this error, and the project has since been "overcome by events". If you find an answer, however, I'd be interested in knowing what it is.
Regards,
Mike

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