On Fri, Jan 9, 2026 at 2:24 PM Antoine Brunner via NumPy-Discussion <
[email protected]> wrote:

> Hello,
>
> I need to install python3-picamera2 on my raspberry PI 4 running Bookworm.
> This package depends on python3-numpy. Also note that I need to install
> those through apt because it is the only way I can do it in my environment.
>
> The problem is that on bookworm, the latest version of python3-numpy is
> 1.24.2, checking here: Debian -- Details of package python3-numpy in
> bookworm <https://packages.debian.org/bookworm/python3-numpy>. This
> creates version conflicts with numpy when I install other pip dependencies
> that require numpy>=2 (for example opencv).
>
> Is there a particular reason why this package is stuck at this version on
> Bookworm ? Looking at the same package for Trixie, the last version is
> 2.2.4. I would greatly appreciate if numpy>=2 was available for Bookworm.
>

That's not something we have any control over, that's Debian packaging. It
seems perfectly normal though, Bookworm is older so it will have an older
NumPy version.

You should never mix your system packages (from `apt` in this case) with
pip/uv installed packages from PyPI or from source. Just keep them
separate, and there won't be a problem. Use virtualenvs, or uv projects, or
conda/pixi, or some such thing.

Cheers,
Ralf
_______________________________________________
NumPy-Discussion mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/numpy-discussion.python.org
Member address: [email protected]

Reply via email to