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 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.

Reply via email to