Stressberry Raspberry Pi 4 8GB issue with plotting graph

Hi there

I have run the stressberry test following your instructions however when i try to plo the graph using the following command

MPLBACKEND=Agg /home/pi/.local/bin/stressberry-plot mytest.out -f -d 300 -f -l 400 1600 -t 30 90 -o mytest.png --hide-legend --not-transparent --line-width 2

I get the following error

RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
Traceback (most recent call last):
File “/home/pi/.local/bin/stressberry-plot”, line 10, in
File “/home/pi/.local/lib/python3.7/site-packages/stressberry/cli/”, line 9, in plot
import dufte
File “/home/pi/.local/lib/python3.7/site-packages/dufte/”, line 1, in
from .main import legend, style
File “/home/pi/.local/lib/python3.7/site-packages/dufte/”, line 3, in
import matplotlib as mpl
File “/home/pi/.local/lib/python3.7/site-packages/matplotlib/”, line 107, in
from . import _api, cbook, docstring, rcsetup
File “/home/pi/.local/lib/python3.7/site-packages/matplotlib/”, line 26, in
from matplotlib.colors import Colormap, is_color_like
File “/home/pi/.local/lib/python3.7/site-packages/matplotlib/”, line 82, in
from matplotlib import _api, cbook, scale
File “/home/pi/.local/lib/python3.7/site-packages/matplotlib/”, line 18, in
from matplotlib.ticker import (
File “/home/pi/.local/lib/python3.7/site-packages/matplotlib/”, line 179, in
from matplotlib import transforms as mtransforms
File “/home/pi/.local/lib/python3.7/site-packages/matplotlib/”, line 46, in
from matplotlib._path import (
ImportError: numpy.core.multiarray failed to import

Can you please help to advise please,


Have you been through the forum thread for Core’s Stressberry tutorial?

1 Like

A post was merged into an existing topic: How to Stress Test Temperature on Raspberry Pi (Stressberry)