Traceback (most recent call last):


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/loader.py", line 142, in get_component

module = importlib.import_module(path)


 "/srv/homeassistant/lib/python3.5/importlib/__init__.py", line 126, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "<frozen importlib._bootstrap>", line 986, in _gcd_import


 "<frozen importlib._bootstrap>", line 969, in _find_and_load


 "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 673, in _load_unlocked


 "<frozen importlib._bootstrap_external>", line 673, in exec_module


 "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/history.py", line 20, in <module>

from homeassistant.components.http import HomeAssistantView


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/__init__.py", line 30, in <module>

from .auth import auth_middleware


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/auth.py", line 8, in <module>

from aiohttp.web import middleware
ImportError: cannot import name 'middleware'

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/data/data/com.termux/files/usr/lib/python3.8/site-packages/asyncpg/__init__.py", line 8, in <module>

from .connection import connect, Connection
# NOQA


 "/data/data/com.termux/files/usr/lib/python3.8/site-packages/asyncpg/connection.py", line 19, in <module>

from . import connect_utils


 "/data/data/com.termux/files/usr/lib/python3.8/site-packages/asyncpg/connect_utils.py", line 27, in <module>

from . import protocol


 "/data/data/com.termux/files/usr/lib/python3.8/site-packages/asyncpg/protocol/__init__.py", line 8, in <module>

from .protocol import Protocol, Record, NO_TIMEOUT
# NOQA


 "asyncpg/protocol/protocol.pyx", line 1, in init asyncpg.protocol.protocol
ImportError: dlopen failed: cannot locate symbol "uuid_to_hex" referenced by "/data/data/com.termux/files/usr/lib/python3.8/site-packages/asyncpg/pgproto/pgproto.cpython-38.so"...
