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/1c783a63-9047-4293-9ba1-674e8d51fb74n%40googlegroups.com.
