On Saturday, April 6, 2019 at 2:21:39 PM UTC-4, V. Kelly Bellis wrote: > > Trying next: > PYTHONPATH=bin python /usr/share/weewx/user/forecast.py --action=parse > --method=xtide --filename=/var/tmp/ellsworth.txt --debug > > Which then reults: > pi@raspberrypi:/ $ PYTHONPATH=bin python /usr/share/weewx/user/forecast.py > --action=parse --method=xtide --filename=/var/tmp/ellsworth.txt --debug > Traceback (most recent call last): > File "/usr/share/weewx/user/forecast.py", line 566, in <module> > import weewx > ImportError: No module named weewx >
for weewx installed via apt, you want: PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/forecast.py --action=parse --method=xtide --filename=/var/tmp/ellsworth.txt --debug you should probably put tide.sh in /usr/share/weewx/user/tide.sh or maybe create a directory /opt/tide and fill it with: /opt/tide/tide.sh /opt/tide/harmonics-dwf-20181227-free.tcd then adjust paths in tide.sh and weewx.conf appropriately i put it in /opt/weewx/bin/user/tide.sh because my weewx is installed at /opt/weewx m -- 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.
