On Fri, 14 Jun 2024 14:38:59 -0700 (PDT)
vince <vinceska...@gmail.com> wrote:

> install ... prerequisite module(s) ... with pip just like you did
> for v4

I note that Debian (and presumably downstream) packaging for the
*python* development and run-time environments changed in v12
(Bookworm).  The package *python3-pip* exists alike in v11 (Bullseye)
and v12 (Bookworm), but, whereas *pip* was installed by default as
part of *python* in v11 (Bullseye), in v12 (Bookworm) it is not.  It
must be installed via the above package, and *pip* will not actually
run outside a virtual environment.  This is to avoid conflicts between
what *apt* installs in the Debian system environment and what *pip*
installs in whatever environment.

... so *pip* installations in virtual environments, being good things,
are being enforced, too.  *WeeWX*'s installation instructions for
*pip* in virtual environments (and for *apt* system-wide installations
for that matter) seem correct.

I believe I'm right in saying that *pip* is no longer packaged with
*python*, but I can't find any good, concise summary of the situation
in *python* release notes, Debian release notes, or on the 'Net.
MEGO, looking....

But see:  file:///usr/share/doc/python3.11/README.venv

... if you have python3.11 installed.

Or look at:
https://www.debian.org/releases/stable/amd64/release-notes/ch-information.en.html#python3-pep-668

These documents don't, IMNSHO, give background or much explanation and
their prescriptions seem a trifle "over defined."

-- 
.. Be Seeing You,
.. Chuck Rhode, Sheboygan, WI, USA
.. Weather:  http://LacusVeris.com/WX
.. 65° — Wind ESE 10 mph

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/20240615110505.156f07ba%40BigTimber.LacusVeris.com.

Reply via email to