Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

Python • Re: Problem during rpi-kms installation

$
0
0
I just resolved an issue with PICAMERA2.

First, PICAMERA2 is installed with BOOKWORM. You don't need to do a separate install.

As mentioned, you do need to create your VENV with --system-site-packages. After that you should be able to IMPORT PICAMERA2 without any other installation.

From my VENV using PICAMERA2 without additional installs

Code:

pi@wethCAM:~ $ source .venv/wc2/bin/activate(wc2) pi@wethCAM:~ $ pythonPython 3.11.2 (main, Apr 28 2025, 14:11:48) [GCC 12.2.0] on linuxType "help", "copyright", "credits" or "license" for more information.>>> import picamera2>>> exit()(wc2) pi@wethCAM:~ $ 

Statistics: Posted by DS256 — Sat Aug 23, 2025 1:58 pm



Viewing all articles
Browse latest Browse all 8609

Trending Articles