Try

PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/interceptor.py
--help

On Mon, Aug 3, 2020 at 3:01 AM Zbigniew Perski <[email protected]>
wrote:

> Hi,
> I am completely new here trying to give second life of my oregon LW300
> station.
> I am running linux mint on an old Asus Eee pc (32 bit system). I installed
> weewx following instruction using debian package. Seems to work fine in
> simulation mode. I installed weewx-interceptor driver from github following
> the instruction.
> In order to figure out how my LW300 bridge is communicating with pc I
> tried to run the driver directly like:
>
> PYTHONPATH=bin python bin/user/interceptor.py --help
>
> however, inmy system weewx was installed in
> /usr/share/weewx/ and interceptor.py is located at: /usr/share/weewx/user
> so I tried the command
>  :/usr/share/weewx$ PYTHONPATH=bin python user/interceptor.py --help
> Traceback (most recent call last):
>   File "user/interceptor.py", line 302, in <module>
>     import weewx.drivers
> ImportError: No module named weewx.drivers
>
> I guess something is wrongly linked or placed in wrong directory. But what
> is wrong here?
>
> Please help!
> Thanks in advance
>
> Zbigniew
>
>
>
>
>
>
>
>
> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/83a61938-9518-4226-af38-bda291e73cedo%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/83a61938-9518-4226-af38-bda291e73cedo%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEAUu74FsbOhCMPN4%2BtbQa0i-euXy_3ps8MOgm3UhFo7Ow%40mail.gmail.com.

Reply via email to