Everything is OK. pip encourages people to install in their "home" directory, but that makes it difficult for python to find the install if you run WeeWX as a daemon.
But, if you want to double check, try this: *python -c "import ephem"* If it shows no error, then your install is OK. -tk On Mon, Apr 1, 2019 at 6:19 AM Ha Ba <[email protected]> wrote: > Hello, > > Because I also have no moonrise-data displayed, I tried to install pyphem > and I get this message: > > $ sudo pip install pyephem > The directory '/home/haba/.cache/pip/http' or its parent directory is not > owned by the current user and the cache has been disabled. Please check the > permissions and owner of that directory. If executing pip with sudo, you > may want sudo's -H flag. > The directory '/home/haba/.cache/pip' or its parent directory is not owned > by the current user and caching wheels has been disabled. check the > permissions and owner of that directory. If executing pip with sudo, you > may want sudo's -H flag. > Requirement already satisfied: pyephem in > /usr/local/lib/python2.7/dist-packages > > Now I am not sure if everything is ok or if this is an error to fix. > > Actually I installed weewx with the setup.py. But there was also an > installation from the Debian-Packetges on my computer that I removed before > installing with setup.py. > > Kind regards, > Hans > > > Am Samstag, 30. März 2019 17:10:31 UTC+1 schrieb Lloyd Brown: >> >> Fixed >> I must have done pip install pyephem without the sudo because the ephem >> got put in the my home directory. Did the sudo pip install pyephem and >> stopped and started WeeWX and I have Moon rise and set. >> >> >> >>> -- > 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]. > For more options, visit https://groups.google.com/d/optout. > -- 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]. For more options, visit https://groups.google.com/d/optout.
