You did not say what operating system you are using, but python3-cheetah is
not available on all systems. In particular, it is not available for Debian
9.

In that case, you must either use Python 2, or use pip to install a python3
version of Cheetah.

sudo apt install python3-distutils
sudo apt install python3-pip
sudo pip3 install cheetah3


-tk


On Tue, Aug 25, 2020 at 4:21 AM [email protected] <[email protected]>
wrote:

> Using the normal apt upgrade command I have had a bit of a party
> upgrading to Version 4.1.1-1  with missing Python 3 Modules in particular 
> python3-serial,
> python3-configobj,  python3-mysqldb,  python3-pil this last one causing
> the graphs not to be created, I am left with this error:
>
> weewx[11789] ERROR weewx.reportengine: Unable to instantiate generator
> 'weewx.cheetahgenerator.CheetahGenerator'
> Aug 25 11:11:06 picluster python3[11789]: weewx[11789] ERROR
> weewx.reportengine:         ****  No module named 'Cheetah'
> Aug 25 11:11:06 picluster python3[11789]: weewx[11789] ERROR
> weewx.reportengine:         ****  Traceback (most recent call last):
> Aug 25 11:11:06 picluster python3[11789]: weewx[11789] ERROR
> weewx.reportengine:         ****    File
> "/usr/share/weewx/weewx/reportengine.py", line 180, in run
> Aug 25 11:11:06 picluster python3[11789]: weewx[11789] ERROR
> weewx.reportengine:         ****      obj =
> weeutil.weeutil.get_object(generator)(
> Aug 25 11:11:06 picluster python3[11789]: weewx[11789] ERROR
> weewx.reportengine:         ****    File
> "/usr/share/weewx/weeutil/weeutil.py", line 1093, in get_object
> Aug 25 11:11:06 picluster python3[11789]: weewx[11789] ERROR
> weewx.reportengine:         ****      mod = __import__(module)
> Aug 25 11:11:06 picluster python3[11789]: weewx[11789] ERROR
> weewx.reportengine:         ****    File
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 66, in <module>
> Aug 25 11:11:06 picluster python3[11789]: weewx[11789] ERROR
> weewx.reportengine:         ****      import Cheetah.Filters
> Aug 25 11:11:06 picluster python3[11789]: weewx[11789] ERROR
> weewx.reportengine:         ****  ImportError: No module named 'Cheetah'
> Aug 25 11:11:06 picluster python3[11789]: weewx[11789] ERROR
> weewx.reportengine:         ****  Generator ignored
>
> Should I be concerned? I have searched with apt search cheetah and found
> that I have python-cheetah/oldstable,now 2.4.4-4 armhf [installed]
>
> No python3-cheetah though.
>
> Regards
> Francis
>
> --
> 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/29824a2a-c784-4404-b797-3d45aa7fecc5n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/29824a2a-c784-4404-b797-3d45aa7fecc5n%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/CAPq0zEDvHEMSm6%3DTMtofPfSzA2nkDbN8Jrs7jJih2_CF9NgFDg%40mail.gmail.com.

Reply via email to