Didn't do the trick.  
??

ot@debian:~# apt-get install python-configobj
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python-configobj is already the newest version (5.0.6-2).
python-configobj set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 31 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up weewx (3.8.0-1) ...
Traceback (most recent call last):
  File "/usr/share/weewx/wee_config", line 14, in <module>
    from weecfg.config import ConfigEngine
  File "/usr/share/weewx/weecfg/__init__.py", line 18, in <module>
    import configobj
ImportError: No module named configobj
dpkg: error processing package weewx (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 weewx
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@debian:~# apt-get install weewx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
weewx is already the newest version (3.8.0-1).
0 upgraded, 0 newly installed, 0 to remove and 31 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up weewx (3.8.0-1) ...
Traceback (most recent call last):
  File "/usr/share/weewx/wee_config", line 14, in <module>
    from weecfg.config import ConfigEngine
  File "/usr/share/weewx/weecfg/__init__.py", line 18, in <module>
    import configobj
ImportError: No module named configobj
dpkg: error processing package weewx (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 weewx
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@debian:~# apt-get remove weewx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer 
required:
  python-cheetah python-serial python-usb
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  weewx
0 upgraded, 0 newly installed, 1 to remove and 31 not upgraded.
1 not fully installed or removed.
After this operation, 4,981 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 158537 files and directories currently installed.)
Removing weewx (3.8.0-1) ...
root@debian:~# apt-get install weewx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  sqlite ftp python-dev python-pip
The following NEW packages will be installed:
  weewx
0 upgraded, 1 newly installed, 0 to remove and 31 not upgraded.
Need to get 0 B/1,205 kB of archives.
After this operation, 4,981 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package weewx.
(Reading database ... 158328 files and directories currently installed.)
Preparing to unpack .../archives/weewx_3.8.0-1_all.deb ...
Unpacking weewx (3.8.0-1) ...
Setting up weewx (3.8.0-1) ...
Traceback (most recent call last):
  File "/usr/share/weewx/wee_config", line 14, in <module>
    from weecfg.config import ConfigEngine
  File "/usr/share/weewx/weecfg/__init__.py", line 18, in <module>
    import configobj
ImportError: No module named configobj
dpkg: error processing package weewx (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (232-25+deb9u1) ...
Errors were encountered while processing:
 weewx
E: Sub-process /usr/bin/dpkg returned an error code (1)

On Friday, December 15, 2017 at 2:17:44 PM UTC-5, Eric Gammeter wrote:
>
> Installing WEEWX 3.8.0 tar.gz onto my Debian 9 box and I get the following 
> error:
>
> I do not know how to proceed.  Any input?  
>
> /Thanks much...
>
> root@debian:~# apt-get install weewx
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> Suggested packages:
>   sqlite ftp python-dev python-pip
> The following NEW packages will be installed:
>   weewx
> 0 upgraded, 1 newly installed, 0 to remove and 31 not upgraded.
> Need to get 1,205 kB of archives.
> After this operation, 4,981 kB of additional disk space will be used.
> Get:1 http://weewx.com/apt squeeze/main all weewx all 3.8.0-1 [1,205 kB]
> Fetched 1,205 kB in 2s (478 kB/s)
> Preconfiguring packages ...
> Selecting previously unselected package weewx.
> (Reading database ... 158328 files and directories currently installed.)
> Preparing to unpack .../archives/weewx_3.8.0-1_all.deb ...
> Unpacking weewx (3.8.0-1) ...
> Setting up weewx (3.8.0-1) ...
> Traceback (most recent call last):
>   File "/usr/share/weewx/wee_config", line 14, in <module>
>     from weecfg.config import ConfigEngine
>   File "/usr/share/weewx/weecfg/__init__.py", line 18, in <module>
>     import configobj
> ImportError: No module named configobj
> dpkg: error processing package weewx (--configure):
>  subprocess installed post-installation script returned error exit status 1
> Processing triggers for systemd (232-25+deb9u1) ...
> Errors were encountered while processing:
>  weewx
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to