When I try to import matplotlib I get an error
Traceback (most recent call last): File \"\", line 1, in File \"/usr/local/lib
this worked for me
from backports.functools_lru_cache import lru_cache