Slow down there, knc! Let's try and isolate this problem first. You're using Python 2, which should work fine. I suspect the problem is an older version of configobj. But, before you try to upgrade configobj, can you try one other thing?
Go into the file bin/weewx/accum.py, Line 95, and change this defaults_dict = configobj.ConfigObj(StringIO(DEFAULTS_INI), encoding='utf-8') to this defaults_dict = configobj.ConfigObj(StringIO(DEFAULTS_INI)) Then try running wee_import again. -tk On Sun, Jan 5, 2020 at 1:06 PM KnC Mc <[email protected]> wrote: > Doesn't look like it is provided under python3... > > *yum provides configobj.py* > > *Loaded plugins: fastestmirror, langpacks* > > *Loading mirror speeds from cached hostfile* > > * * atomic: www7.atomicorp.com <http://www7.atomicorp.com>* > > * * base: mirror.sfo12.us.leaseweb.net > <http://mirror.sfo12.us.leaseweb.net>* > > * * epel: mirror.sfo12.us.leaseweb.net > <http://mirror.sfo12.us.leaseweb.net>* > > * * extras: mirror.sfo12.us.leaseweb.net > <http://mirror.sfo12.us.leaseweb.net>* > > * * updates: mirror.sfo12.us.leaseweb.net > <http://mirror.sfo12.us.leaseweb.net>* > > *python-configobj-4.7.2-7.el7.noarch : Config file reading, writing, and* > > * : validation* > > *Repo : base* > > *Matched from:* > > *Filename : /usr/lib/python2.7/site-packages/configobj.py* > > > > > *python-configobj-4.7.2-7.el7.noarch : Config file reading, writing, and* > > * : validation* > > *Repo : @anaconda* > > *Matched from:* > > *Filename : /usr/lib/python2.7/site-packages/configobj.py* > > > -- > 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/486ae325-251b-42aa-9163-ac48d6e1c81b%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/486ae325-251b-42aa-9163-ac48d6e1c81b%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/CAPq0zEBH-1p_94k%2B7_oNVF2ROGJEsDn%2BzeRVRmmqXe9xqGaj0Q%40mail.gmail.com.
