Hi,

Looks like you need to install the python module configobj. How you do that 
will depend on whether you are running WeeWX under python2 or python3.

I suspect you will be running under python 3 so use:

$ sudo apt install python3-configobj

if not under python2 use:

$ sudo apt install python-configobj

Once configobj is installed re-run the WeeWX installation.

Gary

On Thursday, 21 May 2020 14:51:39 UTC+10, Neville Davis wrote:
>
> the following from setup and status
>
> copying util/import/cumulus-example.conf -> /home/weewx/util/import
>
> copying util/launchd/com.weewx.weewxd.plist -> /home/weewx/util/launchd
>
> creating /home/weewx/util/default
>
> copying util/default/weewx -> /home/weewx/util/default
>
> running install_egg_info
>
> Writing /home/weewx/bin/weewx-4.0.0.egg-info
>
> Traceback (most recent call last):
>
>   File "/home/weewx/bin/wee_config", line 12, in <module>
>
>     import weeutil.logger
>
>   File "/home/weewx/bin/weeutil/logger.py", line 14, in <module>
>
>     import configobj
>
> ImportError: No module named 'configobj'
>
> *pi@raspberrypi*:*~ $* sudo systemctl status weewx
>
> *●* weewx.service - LSB: weewx weather system
>
>    Loaded: loaded (/etc/init.d/weewx)
>
>    Active: *failed* (Result: exit-code) since Thu 2020-05-21 14:41:54 
> AEST; 50s ago
>
>   Process: 422 ExecStart=/etc/init.d/weewx start *(code=exited, 
> status=1/FAILURE)*
>
>
> May 21 14:41:54 raspberrypi weewx[422]: Starting weewx weather system: 
> weewxTraceback (most recent call last):
>
> May 21 14:41:54 raspberrypi weewx[422]: File "/home/weewx/bin/weewxd", 
> line 21, in <module>
>
> May 21 14:41:54 raspberrypi weewx[422]: import weecfg
>
> May 21 14:41:54 raspberrypi weewx[422]: File 
> "/home/weewx/bin/weecfg/__init__.py", line 22, in <module>
>
> May 21 14:41:54 raspberrypi weewx[422]: import configobj
>
> May 21 14:41:54 raspberrypi weewx[422]: ImportError: No module named 
> 'configobj'
>
> May 21 14:41:54 raspberrypi weewx[422]: failed!
>
> May 21 14:41:54 raspberrypi systemd[1]: *weewx.service: control process 
> exited, code=exited status=1*
>
> May 21 14:41:54 raspberrypi systemd[1]: *Failed to start LSB: weewx 
> weather system.*
>
> May 21 14:41:54 raspberrypi systemd[1]: *Unit weewx.service entered 
> failed state.*
>
>
> *What have I forgotten to do ???*
>
> *Nev*
>

-- 
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/1e8b5c32-07a2-4d38-b7b9-8ba32929e774%40googlegroups.com.

Reply via email to