It looks like you are running python3.  Try:
apt install python3-ephem

> On Dec 19, 2020, at 9:30 AM, Kevin Davis <[email protected]> wrote:
> 
> 
> pi@smith:/var/www/html/weewx $ python
> Python 2.7.16 (default, Oct 10 2019, 22:02:15) 
> [GCC 8.3.0] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import emphem 
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named emphem
> >>> exit()
> 
> 
> pi@smith:/var/www/html/weewx $ python3 
> Python 3.7.3 (default, Jul 25 2020, 13:03:44) 
> [GCC 8.3.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import ephem 
> >>> 
> 
> 
> Oh, maybe I needed to do a pip3 install instead?
> 
>> On Sat, Dec 19, 2020 at 9:25 AM Kevin Davis <[email protected]> wrote:
>> I'm having some problems getting pyephem apparently.  I'm still seeing the 
>> "Install pyephem for detailed celestial timings." text.
>> 
>> I did a sudo pip install pyephem and restarted weewx.  I don't see a lot of 
>> documentation on this install, so I'm not sure where to start 
>> troubleshooting. 
>> 
>> This is a brand new install weewx that I'm building for an in-law for 
>> Christmas.  Running in simulator mode currently. 
>> 
>> Thanks for any help. 
> 
> -- 
> 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/CAHiQ_B3qaTMNC%2Bi1-cCxYyQedojTUKRor%2BuZgzV8q5vjKyDt_g%40mail.gmail.com.

-- 
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/1DCF50A8-3BD8-4681-863B-147E9713F479%40johnkline.com.

Reply via email to