nschloe / stressberry

Stress tests for the Raspberry Pi :sweat_smile:
GNU General Public License v3.0
320 stars 27 forks source link

ImportError: No module named functools_lru_cache #94

Closed danielktdoranie closed 3 years ago

danielktdoranie commented 3 years ago

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

nschloe commented 3 years ago

Nice cat. You're using Python 2 which is is over ten years old. See https://github.com/nschloe/stressberry/issues/100.