You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: