OK, I've managed to install the driver. I'm running version 5 which, I'm guessing, is why wee_extension didn't work. I ran weectl extension instead and it worked.
phil@phil-Inspiron-1545:/var/tmp$ sudo weectl extension install gw1000 [sudo] password for phil: Using configuration file /etc/weewx/weewx.conf Install extension 'gw1000' (y/n)? y Saving installer file to /etc/weewx/bin/user/installer/GW1000. Saved configuration dictionary. Backup copy at /etc/weewx/weewx.conf.20240203171318. Finished installing extension GW1000 from gw1000. Thanks for your help. On Sunday 28 January 2024 at 18:48:03 UTC vince wrote: > I would extract the .tar.gz file and tell wee_extension to install the > directory of contents therein... > > cd /var/tmp > tar zxvf gw1000-0.6.0b3.tar.gz > wee_extension --install gw1000 > > > On Sunday, January 28, 2024 at 9:36:48 AM UTC-8 Phil Bilboe wrote: > >> I'm new to linux and trying to install weewx to read my gw1100 gateway. >> >> I'm running Ubuntu 18.04.2 LTS and have completed the debian install and >> the simulator works and generates a webpage. >> >> When I try to install the gw1000 driver I get the following: >> >> phil@phil-Inspiron-1545:~$ wee_extension >> --install=/var/tmp/gw1000-0.6.0b3.tar.gz >> Request to install '/var/tmp/gw1000-0.6.0b3.tar.gz' >> Extracting from tar archive /var/tmp/gw1000-0.6.0b3.tar.gz >> Traceback (most recent call last): >> File "/usr/share/weewx/wee_extension", line 92, in <module> >> main() >> File "/usr/share/weewx/wee_extension", line 84, in main >> ext.install_extension(options.install) >> File "/usr/share/weewx/weecfg/extension.py", line 130, in >> install_extension >> self.install_from_dir(extension_dir) >> File "/usr/share/weewx/weecfg/extension.py", line 150, in >> install_from_dir >> installer_path, installer = >> weecfg.get_extension_installer(extension_dir) >> File "/usr/share/weewx/weecfg/__init__.py", line 1904, in >> get_extension_installer >> installer = loader() >> File "/var/tmp/gw1000/install.py", line 396, in loader >> File "/var/tmp/gw1000/install.py", line 401, in __init__ >> File "/var/tmp/gw1000/install.py", line 386, in version_compare >> AttributeError: 'module' object has no attribute 'zip_longest' >> >> When I try to go to the next step and test the driver I get the following: >> >> PYTHONPATH=/home/weewx/bin python -m user.gw1000 --test-driver >> /usr/bin/python: No module named user.gw1000 >> >> or I get: >> PYTHONPATH=/usr/share/weewx python -m user.gw1000 --test-driver >> /usr/bin/python: No module named user.gw1000 >> >> I'm kind of lost as to what to do next. Any suggestions would be >> appreciated. >> >> -- 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/fe007237-1bd8-43b6-941d-5ef6896d7011n%40googlegroups.com.
