On my raspi I did 'apt-get install python3-ephem' which did install something.
# dpkg -l python3-ephem Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-======================================================== ii python3-ephem 3.7.6.0-7+b1 armhf Compute positions of the planets and stars with Python 3 And using your unit test example (pretty cool - I wasn't aware of this before): # python3 -m unittest discover ephem ..............................................ss......................................... ---------------------------------------------------------------------- Ran 89 tests in 5.137s OK (skipped=2) After a few minutes the Seasons skin celestial shows Sunrise/sunset, hours of daylight, and moon phase -- 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/52ce784b-3957-44f4-a631-0243be9f3712n%40googlegroups.com.