nschloe / stressberry

Stress tests for the Raspberry Pi :sweat_smile:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImportError: No module named functools_lru_cache

danielktdoranie opened this issue · comments

So this is happening, first install and attempted run. Halp pls. KTHXBYE.

pi@raspberrypi:~ $ stressberry-run out.dat
Traceback (most recent call last):
File "/usr/local/bin/stressberry-run", line 6, in
from stressberry.cli import run
File "/usr/local/lib/python2.7/dist-packages/stressberry/init.py", line 15, in
from . import cli
File "/usr/local/lib/python2.7/dist-packages/stressberry/cli.py", line 8, in
import matplotlib.pyplot as plt
File "/usr/local/lib/python2.7/dist-packages/matplotlib/init.py", line 133, in
from matplotlib.rcsetup import defaultParams, validate_backend, cycler
File "/usr/local/lib/python2.7/dist-packages/matplotlib/rcsetup.py", line 31, in
from matplotlib.fontconfig_pattern import parse_fontconfig_pattern
File "/usr/local/lib/python2.7/dist-packages/matplotlib/fontconfig_pattern.py", line 28, in
from backports.functools_lru_cache import lru_cache
ImportError: No module named functools_lru_cache

Running this on a Raspberry Pi 4 Model B 8 GB

Screenshot from 2021-01-31 00-20-35

download

Nice cat. You're using Python 2 which is is over ten years old. See #100.