I can think of two reasons why this might be happening. 1. You are using a Python 2 version of pip, which will install packages in the Python 2 directory hierarchy. If you then run weewxd using Python 3, it won't find it.
I almost never invoke Python as "python", nor pip as "pip". Instead, use the "3" suffix: python3 or pip3. That way you can be sure of which version you're getting. 2. Did you try to install Cheetah from the weewx distribution subdirectory? If so, pip will see the setup.cfg in there and install it in a funny place where Python can't find it. Take a look in /home/weewx/bin and see if Cheetah ended up there. If that's the case, cd to something else and try again. cd /home/weewx pip install Cheetah3 On Mon, Oct 31, 2022 at 10:29 AM Steve <wot...@gmail.com> wrote: > Probably the wrong forum to ask, but I'm at my wits end. I've always used > the setup.py method to update WeeWx. > > I updated WeeWX to 4.9.1 from maybe 4.3.0? Followed the setup.py > instructions (in /usr there are python3 and python3.5 directories). > > I get an error in the log file "No module named 'Cheetah'" > > I get this in my terminal > > @rpi3:~# pip install Cheetah3 > DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. > Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 > will drop support for Python 2.7 in January 2021. More details about Python > 2 support in pip can be found at > https://pip.pypa.io/en/latest/development/release-process/#python-2-support > pip 21.0 will remove support for this functionality. > Looking in indexes: https://pypi.org/simple, > https://www.piwheels.org/simple > Requirement already satisfied: Cheetah3 in > /usr/local/lib/python2.7/dist-packages (3.2.6.post1) > > -- > 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/9d0031f0-08eb-465e-a16d-a3c6cfba5721n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/9d0031f0-08eb-465e-a16d-a3c6cfba5721n%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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zECK5_8wqp1V7mQ3pBsZDr%3DdZjvqwkSS61Rpqz5X%3DgLuyw%40mail.gmail.com.