I’m trying to get my python poetry project going on a raspberry pi. Currently, I want to capture an image on the camera and apparently picamera2
is the way to go. I installed the package via sudo apt install -y python3-picamera2
as recommended here: https://github.com/raspberrypi/picamera2/tree/main
However, as I’m within a poetry environment, I’m not able to access system-wide packages (like this one). I also tried to install the package in the poetry env, but I also failed (poetry add picamera2
doesn’t work).
When switching to a pyenv environment, I can access picamera2. How can I get access from with my poetry environment?