Install python-backports.functools-lru-cache by entering the following commands in the terminal:
sudo apt update sudo apt install python-backports.functools-lru-cache
Description:
backport of functools.lru_cache from Python 3.3
Backport of functools.lru_cache from Python 3.3 as published at ActiveState:
Homepage: https://github.com/jaraco/backports.functools_lru_cache
Version: 1.4-2
Section: universe/python