[HOW-TO] Use picamera2 on Raspberry Pi 5 running Ubuntu Server 24.04.3

Open
#1,337 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
python, raspberry-pi, ubuntu

Research direction

Start by reviewing the linked Raspberry Pi libcamera and rpicam-apps installation instructions, along with the project's existing installation guidance. Determine the supported way to install picamera2 on Ubuntu Server 24.04.3 with uv and a virtual environment, then document the confirmed steps and verify that image capture works.

Written by the indexing model from the issue text.

Description

Please only ask one question per issue!

Describe what it is that you want to accomplish
I'd like to be able to use the picamera2 library for image capture on a Raspberry Pi 5 running Ubuntu Server 24.04.3.

Describe alternatives you've considered
N/A

Additional context
I've done the following:

I'm using uv with a venv. It seems the suggested approach for installing picamera2 is via apt outside of any virtualenv: sudo apt install -y python3-picamera2 --no-install-recommends, but that results in E: Unable to locate package python3-picamera2.

Any help here?

Dominant language
Python
Stars
1.2k
Forks
258
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/picamera2

All issues in raspberrypi/picamera2

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.