Ahhh. Makes perfect sense, of course. As I fully expected, the first line by the guru did it. That's my preference. I get it. Thanks for briefing an (unthinking) dork. Have a good one.
On Tue, Jan 31, 2017 at 9:31 PM, mwall <[email protected]> wrote: > > > On Tuesday, January 31, 2017 at 9:27:41 PM UTC-5, Greg Tomsic wrote: >> >> Hi back. Makes sense, but I am not an adept Python person. It is a .deb >> install (in Linux MINT 17.2) and the command I used (after simply and maybe >> stupidly finding one location of interceptor.py) is: >> >> PYTHONPATH=bin python /usr/share/weewx/user/interceptor.py --help to >> start with. Any command, same advisory. >> >> Maybe it is as simple as that path? If so, what might/should it be. >> Thanks. >> > > the PYTHONPATH tells python where to look for other python code, in this > case the weewx code. it has to be set to the weewx bin dir, so for .deb or > .rpm installs that means: > > PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/interceptor.py > --help > > or > > cd /usr/share/weewx > PYTHONPATH=. python user/interceptor.py --help > > m > > -- > You received this message because you are subscribed to a topic in the > Google Groups "weewx-user" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/weewx-user/c29Cck0cg5g/unsubscribe. > To unsubscribe from this group and all its topics, 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.
