Things to check/try: 1. Make sure the instance of python you think you are running is the same as the version for which ephem was installed.
2. If you did apt install python3-ephem, but try to run out of a virtual environment, the Python interpreter won't find it. 3. If you are doing a pip install, use * python3 -m pip list -v* to see what is installed for that particular instance of Python 4. You didn't say if this is happening all the time, or just when running as a daemon, but if you're doing the latter, make sure you use the instance of Python for which pyephem is installed. For a pip install, that means you need the explicit path to the instance of Python inside the virtual environment. -tk On Thu, Oct 17, 2024 at 12:38 PM Chris Alemany <[email protected]> wrote: > Hi all, > > I'm running weewx on a Debian system. Last week I updated to Bookworm and > weewx 5.1 and it appears to have broken pyephem. > > I am using the pip method and pyephem is reported as installed > successfully in the weewx-venv folders (and I can confirm there are folders > for both 3.9 and 3.11 that both have pyephem modules inside. > > I've also installed with apt install python3-ephem on the system as a > whole. > > Regardless, weewx is reporting: 'pyephem' not detected in the logs. > > I've seen a few other people mention this when upgrading here but having > seen any firm resolutions? I've tried running the weewx installer again, I > actually ran the whole pip install procedure up to python3 -m pip install > weewx. It reports everything is installed, but upon launch, weewx doesn't > see pyephem. > > Is there another log I can find to see if there are failures with linking > to pyephem? > > Thanks for any suggestions > Chris > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/3e13dbd6-0bcc-4e23-9a9d-42b9797b85d0n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/3e13dbd6-0bcc-4e23-9a9d-42b9797b85d0n%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEAtUi2LyqFrdq5MHAV9G9tFmJwWw7dYpZE14co6cVKGuA%40mail.gmail.com.
