Skip to content

Running sdr.py directly throws error #205

Description

@splobsterman

In a Ubuntu VM in Parallels on mac mini, using WeeWx 5.2, trying to get SDR working

Ran:
export WEEWX_BINDIR=/home/house/weewx-venv/bin/weewx
export WEEWX_USRDIR=/home/house/weewx-data/bin/user
'echo $WEEWX_BINDIR
echo $WEEWX_USRDIR'
return the correct paths.

Then:
PYTHONPATH=$WEEWX_BINDIR python3 $WEEWX_USRDIR/sdr.py --cmd="rtl_433 -M utc -F json -f 915M -R 297 -C customary"

Error:
File "/home/house/weewx-data/bin/user/sdr.py", line 119, in <module> import weewx.drivers ModuleNotFoundError: No module named 'weewx'

I must be missing an obvious step here.

RTL_433 runs fine with that CMD line in terminal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions