Hello, I'm developing on Python on Raspberry Pi 4 using 64-bit Bookworm OS and I'm using the Venv virtual environment. After downloading Picamera2, I get the No module named 'libcamera' error when I write and run from Picamera2 import Picamera2 in the code.
I tried pipinstall rpi-libcamera. Then a subprocess-exited-with-error and metadata-generation-failed error occurred.
Please, help me
Have you taken account of the advice provided here -
Using picamera2 in virtual environments
viewtopic.php?t=361758
Statistics: Posted by B.Goode — Sun May 05, 2024 6:35 am