Hi Matt, Thanks for the answer. I guess I'm not understanding something about this command. I installed weewx to '/home/weewx/bin', and my python is python3 and is installed at the path you mentioned, '/usr/local/bin/python3'
So to my understanding that command should become 'PYTHONPATH=/home/weewx/bin /usr/local/bin/python3 -m user.gw1000 --test-driver' but when i enter that command i receive 'PYTHONPATH=/home/weewx/bin: Command not found.' On Friday, September 24, 2021 at 12:11:03 PM UTC-4 matthew wall wrote: > hi evan, > > the operating system does not matter - the paths matter. assuming that > you installed weewx to /home/weewx/bin, you should use this form: > > PYTHONPATH=/home/weewx/bin python -m user.gw1000 --test-driver > > however, that assumes that there is an executable called 'python' in your > PATH. if you are using python3, then you should replace 'python' with > 'python3'. and if 'python3' is not in your PATH, then you should use > '/usr/local/bin/python3' or whatever the full path is to the python that > you are using. > > m > > On Friday, September 24, 2021 at 12:00:30 PM UTC-4 Evan Kimberly wrote: > >> Hi all, >> >> I am running weewx on TrueNAS / freebsd. I have the latest version >> installed and have connected it to apache2.4. I've tested everything with >> the simulator and it looks good. I've started the process of installing the >> GW1000 driver to speak to my ecowitt gw1000, however I can't seem to get it >> to work. I deleted my archive file and the public_html directory after >> working with the simulator and restarted the weewx service. The archive >> file and public_html directory repopulate, but the database is empty and in >> the directory there is no html index file. >> >> Additionally, I am having trouble with troubleshooting the driver itself. >> in the install script (https://github.com/gjr80/weewx-gw1000), there is >> a bit about testing the driver: >> >> Test the GW1000 driver by running the driver file directly using the >> *--test-driver* command line option: >> $ PYTHONPATH=/home/weewx/bin python -m user.gw1000 --test-driver >> >> for *setup.py* installs or for package installs use: >> $ PYTHONPATH=/usr/share/weewx python -m user.gw1000 --test-driver >> >> this doesn't seem to be written with freebsd in mind. I have done the >> setup.py install but the /usr/share/weewx directory doesn't exist. >> >> Has anyone running a freebsd system been able to get this driver >> functional? Any suggestions? >> >> Thanks! >> > -- 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/de677fe1-d30f-48a8-b8b2-c8d885895810n%40googlegroups.com.
