I tried updating my HASSbian for the first time and ran into a problem:
Found existing installation: Jinja2 2.7.3
Not uninstalling Jinja2 at /usr/lib/python3/dist-packages, outside environment /srv/homeassistant
*** Error compiling '/tmp/pip-build-dz9x_46p/jinja2/jinja2/asyncfilters.py'...
File "/tmp/pip-build-dz9x_46p/jinja2/jinja2/asyncfilters.py", line 7
async def auto_to_seq(value):
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-build-dz9x_46p/jinja2/jinja2/asyncsupport.py'...
File "/tmp/pip-build-dz9x_46p/jinja2/jinja2/asyncsupport.py", line 22
async def concat_async(async_gen):
^
SyntaxError: invalid syntax
Found existing installation: setuptools 5.5.1
Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /srv/homeassistant
Successfully installed homeassistant pip voluptuous requests aiohttp typing jinja2 setuptools packaging appdirs pyparsing
Cleaning up...
At this point when I restart I am greeted with invalid configs for a multitude of components including switch.mochad, automation.sun, mochad, sun, tts.google, and discovery.
I’ve restored using a backup image but I’m afraid that I’m stuck and cannot upgrade. Can someone offer any advice on what might be going wrong? I followed the update instructions verbatim.