And this morning I made :

Prerequisites for Debian 10 (Buster), Raspbian 10, Ubuntu 18.04-19.10

sudo apt update

# Requiredsudo apt install python3-configobj
sudo apt install python3-pil
sudo apt install python3-serial
sudo apt install python3-usb
sudo apt install python3-pip

# This works for most installations...sudo apt install python3-cheetah
# ... if not, try this:sudo pip3 install Cheetah3

# Optional: for extended almanac informationsudo apt install python3-ephem

# Required if you are using MySQL (MariaDB):sudo apt install mariadb-client
sudo apt install python3-mysqldb


Le mardi 4 août 2020 17:54:49 UTC+2, Jlou 43 a écrit :
>
> In fact it's python 2 running on my raspberry:
>
> pi@raspberrypi:~ $ python -V
> Python 2.7.16
>
>
>
> Le mardi 4 août 2020 17:40:30 UTC+2, Jlou 43 a écrit :
>>
>> Thank you for your answer, I think you are right I installed python 3 
>> and shouldn't have, how can I go back to python 2 now?
>> Thank you.
>>
>> Le mardi 4 août 2020 17:28:55 UTC+2, Tom Keffer a écrit :
>>>
>>> I would guess that you are using a search list extension that has not 
>>> been ported to Python 3.
>>>
>>> Try running Python 2. Or, see if there is an update for the extension.
>>>
>>> On Tue, Aug 4, 2020 at 8:23 AM Jlou 43 <jlo...@gmail.com> wrote:
>>>
>>>> Hello,
>>>>
>>>> I've got a problem since I update Weewx from 3.9.2 to 4.1.1 : my web 
>>>> page isn't updated (only the graphs are) and here is what I find in my 
>>>> Syslog.log :
>>>>
>>>> Aug  4 17:10:17 raspberrypi weewx[2682] ERROR weewx.cheetahgenerator: 
>>>> Generate failed with exception '<class 'NameMapper.NotFound'>'
>>>> Aug  4 17:10:17 raspberrypi weewx[2682] ERROR weewx.cheetahgenerator: 
>>>> **** Ignoring template /home/weewx/skins/Alf_normal/index.html.tmpl
>>>> Aug  4 17:10:17 raspberrypi weewx[2682] ERROR weewx.cheetahgenerator: 
>>>> **** Reason: cannot find 'has_key' while searching for 'has_key'
>>>> Aug  4 17:10:17 raspberrypi weewx[2682] ERROR weewx.cheetahgenerator: 
>>>> ****  Traceback (most recent call last):
>>>> Aug  4 17:10:17 raspberrypi weewx[2682] ERROR weewx.cheetahgenerator: 
>>>> ****    File "/home/weewx/bin/weewx/cheetahgenerator.py", line 322, in 
>>>> generate
>>>> Aug  4 17:10:17 raspberrypi weewx[2682] ERROR weewx.cheetahgenerator: 
>>>> ****      unicode_string = compiled_template.respond()
>>>> Aug  4 17:10:17 raspberrypi weewx[2682] ERROR weewx.cheetahgenerator: 
>>>> ****    File "_home_weewx_skins_Alf_normal_index_html_tmpl.py", line 1201, 
>>>> in respond
>>>> Aug  4 17:10:17 raspberrypi weewx[2682] ERROR weewx.cheetahgenerator: 
>>>> ****  NameMapper.NotFound: cannot find 'has_key' while searching for 
>>>> 'has_key'
>>>>
>>>> Thank you for your help.
>>>>
>>>> -- 
>>>> 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...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/weewx-user/d1c4583e-5053-4728-9baf-7f637a439991o%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/d1c4583e-5053-4728-9baf-7f637a439991o%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/adff4a26-4cd2-406b-954e-889f6e0a80fco%40googlegroups.com.

Reply via email to