Why can't i see and use my picamera with my RPI5 ?

April 25, 2024, 10:08

lenonante

Hi everybody. I have a problem, i can't use and see my pi camera with my rpi5. My camera is plug, and i have the last recommended raspberrypios. But there isn't the camera option in Interfacing Option, but i can see it in when i write
libcamera-hello --list-cameras
. (you can check the picture) Thanks to anybody helping me

thunder07337

Have you tried connection 0 instead of 1?

lenonante

Yes, and i have the same problem

thunder07337

What does
rpicam-hello
do?

lenonante

it do this :

lenonante


lenonante


thunder07337

So he has the camera inside. Was there no preview window? Take a look here: https://www.raspberrypi.com/documentation/computers/camera_software.html#troubleshooting

lenonante

ok yes, ther is a preview window. There wasn't before because i used a ssh terminal. I have the preview window when i directly use the rpi terminal

lenonante

but i still can't use the camera

lenonante

In fact, i have many other problems 😂 My goal is to use the camera in python with picamera. But idk why i can't install it (it says that envirnment is externaly managed ??)

oops.se

Plz post text as text.

newtieboo

Had the same problem with an open cv project you will have to use picamera2: https://github.com/raspberrypi/picamera2

lenonante

ok thank you, i will try this this week end