yes I saw it was a dpkg installation - I was pointing him to how to try to add the modules manually if any others are missing.
Looking up the error he gets on Google I see https://phoenixnap.com/kb/fix-sub-process-usr-bin-dpkg-returned-error-code-1 which says his dpkg stuff under the hood is corrupt, which makes sense. My confusion is Patrick saying weewx works ok, how could that be if configobj was not there ? Other than a python2 vs python3 thing, all I can suggest is reimage the pi if that becomes the only option. On Monday, October 9, 2023 at 1:26:47 PM UTC-7 Tom Keffer wrote: > He may have used a package installer (not setup.py or pip). > > Patrick, how did you install weewx? If you used a package installer, it > should have installed configobj for you. > > Also, what do you get for > > *head /usr/share/weewx/wee_extension* > > -tk > > > On Mon, Oct 9, 2023 at 1:12 PM vince <[email protected]> wrote: > >> If you are on a debian-based operating system and using python3.... >> >> sudo pip3 install configobj >> >> If you run into more missing modules see >> https://www.weewx.com/docs/4.10/setup.htm >> >> On Monday, October 9, 2023 at 11:41:06 AM UTC-7 [email protected] wrote: >> >>> hello, >>> >>> now the skin "Season" is OK, I want to install the skin" Belchertown" >>> but I have this Error: >>> >>> sudo /usr/share/weewx/wee_extension --install >>> weewx-belchertown-release-1.3.1.tar.gz >>> Traceback (most recent call last): >>> File "/usr/share/weewx/wee_extension", line 13, in <module> >>> import weecfg.extension >>> File "/usr/share/weewx/weecfg/__init__.py", line 23, in <module> >>> import configobj >>> ImportError: No module named configobj >>> >>> I had already this error but I don't remenber that I done to resolve. >>> >>> Patrick >>> >> -- >> 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/f9cdb923-7226-48e0-9005-2559cbcb25fdn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/f9cdb923-7226-48e0-9005-2559cbcb25fdn%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/c42b56ad-265d-4f0a-81f4-aabdc6e391ecn%40googlegroups.com.
