I was wondering if someone might be able to help me with my input shaper issue. I am producing the x and y axis .csv files, but is giving me an error

~/klipper/scripts/ /tmp/resonancesx*.csv -o /tmp/shaper_calibrate_x.png
Traceback (most recent call last):
File “/home/pi/klipper/scripts/”, line 11, in
import numpy as np, matplotlib
File “/usr/lib/python3/dist-packages/numpy/”, line 150, in
from . import random
File “/usr/lib/python3/dist-packages/numpy/random/”, line 143, in < module>
from .mtrand import *
ImportError: /usr/lib/python3/dist-packages/numpy/random/mtrand.cpython-37m-arm- invalid ELF header

Looks like a messed up Python installation, e.g. mixing different versions or installing / mixing different architectures, like ARM and i386.

Did you somehow install it manually or with a package manager? Which OS? On a RPi?

1 Like

Installed manually (Cloned from a raspberry pi 4 to a pi zero w 2

This works fine on my CR-10 (Rpi-4b)
But I am getting this error on my Ender 3 (Pi Zero W 2)

I’m running Fluidd

Most likely this leads to the problem. A bit over my pay-grade but IIRC Debian uses ARMEL architecture for the RPi 4 and ARMHF for the Zero

1 Like

I will try installing Fluidd from scratch, worst comes to worst, I can just throw in the existing SD card.

Thanks Sineos!

I recompiled the firmware from scratch with kiauh (just to go faster) and it output the file just fine.

Thanks again!