Hello im facing with some problem to execute basics scripts im trying to execute via geany and also from bash but no luck… i´ve already made a link to python (python3) so when i execute python it will point to python3…
i´ve installed picamera but when i execute it simply says an error on the module or something like that
Please help!
pulpe
October 22, 2023, 7:14am
2
Looks like libbcm_host.so
is missing. Do you have libraspberrypi0
installed?
1 Like
As well, if possible, try to avoid doing screen prints. It should be possible to copy/past directly from SSH terminal or from VNC
I can’t that’s another problem… That I realized in raspbian realvnc let me copy paste between O.S but in dietpi doesn’t I think it’s a config in server side vnc (dietpi) but I don’t know how to configure it thats the reason of screen shot
Nope, I don’t think so how do you know that library is missing?
Last line on your error message clearly stating the missing file / library
Yes, I see that libbcm_host.so I was referring to @pulpe answer that says: libraspberrypi0 how do he knows that library belongs or depends on libbcm…?
pulpe
October 22, 2023, 2:11pm
8
I used google and found some info, that libraspberrypi0
package contains libbcm_host.so
library.
1 Like
Could it be a PATH issue?
export LD_LIBRARY_PATH=/usr/local/lib
pulpe
October 22, 2023, 2:51pm
10
After installing libraspberrypi0
package with apt, libbcm_host.so
should be located at /opt/vc/lib
.
Hi again, i´ve found this link: Raspberry Pi Bullseye| libraspberrypi0 changes: libvchiq_arm.so missing · Issue #4729 · MichaIng/DietPi · GitHub
now im trying to install all dependencies to work like the way it does in raspbian but in dietpi which i love, can you help me to install libraspberrypi0
i´ve found libraspberrypi-dev but no luck…
Which other library i have to install?
can you guide me please.
Another silly question i´m trying to install it via pip it´s ok?
like:
pip install libraspberrypi0-dev
pulpe
October 23, 2023, 3:49am
12
sudo apt install libraspberrypi0
1 Like
jjcampis:
libraspberrypi0-dev
These are apt Debian packages and not Python nodules
phk010
December 28, 2023, 10:50am
14
Hello, I had the same problem, after googeling , I found this:
Picamera2 beta release - Raspberry Pi
After installing, I could import picamera2