If you run: apt-cache search configobj
you should see python3-configobj you could install it ; sudo apt install python3-configobj See what happens.... On Thursday, 7 May 2020 15:55:38 UTC+10, Janez Kranjski wrote: > > I'm using Weewx 4.0 on my Raspberry Pi. > A computer has installed two Python versions (2.7.13 and 3.5.3). With > upgraded Weewx to 4.0, I want to start using Python3. > But, when I change to WEEWX_PYTHON=python3 in /etc/default/weewx and > restart service, I get: > May 07 07:45:10 raspberrypi weewx[5830]: File "/usr/share/weewx/weewxd", > line 21, in <module> > May 07 07:45:10 raspberrypi weewx[5830]: import weecfg > May 07 07:45:10 raspberrypi weewx[5830]: File > "/usr/share/weewx/weecfg/__init__.py", line 22, in <module> > May 07 07:45:10 raspberrypi weewx[5830]: import configobj > May 07 07:45:10 raspberrypi weewx[5830]: ImportError: No module named > 'configobj' > May 07 07:45:10 raspberrypi weewx[5830]: failed! > > > > I tried to install configobj with "pip install configobj", but I don't > have PIP installed. Should I install PIP and try to install configobj > manually? > Or is there any other reason for the error? > > Tnx. > -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/af00d88b-2146-4af0-92e3-bd28621a406c%40googlegroups.com.