matthewwall / weewx-sdr

weewx driver for software-defined radio
GNU General Public License v3.0
115 stars 74 forks source link

Installation issues #43

Closed mattncsu closed 5 years ago

mattncsu commented 5 years ago

Hello,

I attempted to install on a clean copy of Ubuntu 18.04 via the instructions in the readme but I am failing on step 4. Weewx installed itself in /etc/weewx instead of /home/weewx which could be the problem.

I tried running the sudo PYTHONPATH=bin python bin/user/sdr.py --cmd="rtl_433 -M utc -F json -G" command but sdr.py wasn't found. Using find, i found it in /usr/share/weewx/user/sdr.py and modified the command but now can't import weewx.drivers.

atomicpi1@atomicpi1:/etc/weewx$ sudo PYTHONPATH=bin python /usr/share/weewx/user/sdr.py --cmd="rtl_433 -M utc -F json -G" Traceback (most recent call last): File "/usr/share/weewx/user/sdr.py", line 87, in <module> import weewx.drivers

I tried running through steps 1-4 in my home directory, /etc/weewx, and /usr/share/weewx but no luck.

Any ideas what to try next?

mattncsu commented 5 years ago

I removed weewx and installed manually using setup.py and it seems to be working. I'd advise to not install weewx using package manager