Install python-functools32 by entering the following commands in the terminal:
sudo apt update sudo apt install python-functools32
Description:
Backport of the functools module from Python 3.2.3 to Python 2.7
This is a backport of the functools standard library module from Python 3.2.3 for use on Python 2.7 and PyPy. It includes new features lru_cache (Least-recently-used cache decorator).
Homepage: https://github.com/MiCHiLU/python-functools32
Version: 3.2.3.2-3
Section: python