Not sure why you're trying to install an old version of WeeWX. Why not the
current version, V5.1.0?

There are many things that cause this error. You're not showing much about
the error, so it's hard to diagnose. Are you trying to install WeeWX using
apt-get? Or, dpkg?

The Python used by the install process may not be the same one as used by
your "pip show six" command. Or, it may not have access to
/usr/lib/python3/dist-packages

What do you get with the command "python3 -V"?

How about "pip -V"?

How about "pip3 -V"?

How about "python3 -m site"?





W

On Mon, Sep 2, 2024 at 7:06 AM Ξ <[email protected]> wrote:

> Hello,
>
> So after failing with WeeWX on Mint
> <https://groups.google.com/g/weewx-user/c/RKrsYwb4SxE> I'm trying to
> install it on Debian, but I get an error about missing module.
>
> Unpacking weewx (4.10.2-1) ...
> Setting up weewx (4.10.2-1) ...
> Traceback (most recent call last):
>   File "/usr/share/weewx/wee_config", line 12, in <module>
>     from weecfg.config import ConfigEngine, Logger
>   File "/usr/share/weewx/weecfg/__init__.py", line 21, in <module>
>     from six.moves import StringIO, input
> ModuleNotFoundError: No module named 'six.moves'
> dpkg: error processing package weewx (--configure):
>  installed weewx package post-installation script subprocess returned
> error exit status 1
> Errors were encountered while processing:
>  weewx
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> However, I believe 'six' is properly installed:
> $ pip show six
> Name: six
> Version: 1.16.0
> Summary: Python 2 and 3 compatibility utilities
> Home-page: https://github.com/benjaminp/six
> Author: Benjamin Peterson
> Author-email: benjamin@@python.org
> License: MIT
> Location: /usr/lib/python3/dist-packages
> Requires:
> Required-by:
>
> Any help would be greatly appreciated!
>
> Ivo
>
> --
> 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/4b7f2459-a22b-463b-8ee9-1a1618d45201n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/4b7f2459-a22b-463b-8ee9-1a1618d45201n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAPq0zEAHvFbXb050-O3scO4zuScO6qGpjS1mQBFWU5%2BaJCKO0g%40mail.gmail.com.

Reply via email to