For bookworm, Pyownet is definitely a pip install. I'm not sure if they
ever had it as a Debian package, at least not for a couple of versions.

I have it installed here with weewx5, and previously with v4.x, but always
as a pip install.
My current installation of weewx is using the weewx-venv method so I don't
get that management warning.

I'm assuming you've installed the deb package of weewx to be getting that
warning?
While I'm no expert on python and venv's , I'd be surprised if forcing an
install of pyownet via pip would actually break anything, It's one solitary
package that shouldn't be pulling anything else in, nor should any other
software be confused by it. So while it may be less than ideal, nothing
should actually "break"

While it might sound dire, doing a forced install shouldn't get you hung.
The last line of that pip3 warning message tells you how to do that ... use
--break-system-packages

If you want to stay inside the white line then do the weewx installation
via pip. It works very well.

As for *one* place for info; have a look at the following link, it's got
pretty much everything to get 1-wire working with a fork of Mathew Walls
owfs. It's what I use.

https://github.com/glennmckechnie/weewx-owfs

And for sheepdog gear, I've had a humidity sensor working here. I'd be very
surprised if it doesn't work with the owfs driver.

Cheers
 Glenn

Various WeeWx addons at
https://github.com/glennmckechnie


On Thu, 20 Feb 2025 at 12:44, messyp...@gmail.com <messypota...@gmail.com>
wrote:

> new install of 4.9.1 (I like it and don't want to change if I don't have
> to)
> Raspberry pi running "Debian GNU/Linux 12 (bookworm)"
> (Note: I just did this yesterday to another rpi4 running Linux 11/bullseye
> and everything loaded perfectly)
> Is there something about bookworm that breaks getting what we need to run
> 1wire on our pis with weewx? To wit:
>
>
>
>
>
>
>
> *pi@raspberrypi4b:~ $ sudo python3Python 3.11.2 (main, Nov 30 2024,
> 21:22:50) [GCC 12.2.0] on linuxType "help", "copyright", "credits" or
> "license" for more information.>>> import pyownetTraceback (most recent
> call last):  File "<stdin>", line 1, in <module>ModuleNotFoundError: No
> module named 'pyownet'>>>*
> or
>
> *sudo apt-get install pyownet   *
> *E: Unable to locate package pyownet*
> *if it is not available via apt-get then uses pip3 (apt-get install
> pip3-python to install pip3 )*
> *pip3 install pyownet *
>
>
>
>
>
> *error: externally-managed-environment× This environment is externally
> managed╰─> To install Python packages system-wide, try apt install
> python3-xyz, where xyz is the package you are trying to    install.*
>
> My "production" wx server is a pi4 running bullseye w/ weewx 4.9.1 and I
> have the system setup running weewx, Vantage driver; I just haven't
> installed my Sheepwalk 1wire hat yet, soon as I do I'll add those 4 sensors
> to my weewx.conf ... FYI I had this setup a couple years ago working fine
> for about 6 years but lightning strike took out my ow hat, pi, and I
> rebuilt it to 4.9.1 albeit without my onewire stuff. Now I want to add them
> (3 temps, 1 lightning strike counter).
> I must mention my observation that trying to follow the history and
> stories about what it takes to setup owfs so my weewx/pi4 can start reading
> them.  I haven't seen where anyone (yet) has brought the latest owfs stuff
> together in *one* place for us to follow. So meanwhile I'm at a roadblock
> with pyownet.
> Thanks for anyone's help.
> Phil
>
>
>
>
> --
> 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 visit
> https://groups.google.com/d/msgid/weewx-user/da8ca7d8-2ca3-4415-a730-e044df2bad70n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/da8ca7d8-2ca3-4415-a730-e044df2bad70n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/CAAraAziqJHdJ8Y4rTQH3sV4BP2a5Nu41HF3szfWgaiKc0aR21g%40mail.gmail.com.

Reply via email to