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?