Input shaper runs to 133Hz the errors with "AttributeError: module 'numpy' has no attribute 'ndarray'"

Printer Model: Kingroon KP3S Pro S1
MCU / Printerboard: BTT SKR Pico / Pi 4 via UART / Fysetc PIS

I’m having some troubles when trying to run input shaper using a BTT SKR Pico connected via UART to a Pi 4 and the Fysetc Portable Input Shaper tool. The resonance tests run all the way through to 133Hz and then I get an error and I have been searching google endlessly and nothing is seeming to work.

Error in remote calculation: Traceback (most recent call last): File “/home/pi/klipper/klippy/extras/shaper_calibrate.py”, line 80, in wrapper res = method(*args) File “/home/pi/klipper/klippy/extras/shaper_calibrate.py”, line 152, in calc_freq_response if isinstance(raw_values, np.ndarray): AttributeError: module ‘numpy’ has no attribute ‘ndarray’

I get this same error running both 'TEST_RESONANCES AXIS=X" and “SHAPER_CALIBRATE.”

Please attach your klippy.log.

I get the same error
Printerboard: BTT SKR mini E3 V3.0
Please see attached klippy.log
klippy (11).log (1.7 MB)

Did you manage to fix this?

Try uninstalling numpy and reinstalling, maybe a bit older version.
Something like:

~/klippy-env/bin/pip uninstall -y numpy
~/klippy-env/bin/pip install -v numpy==1.25.2

Thanks so much. I had to force install numpy for some reason. Took me a while to figure this out, but all is working well now.

Could you please tell me more about how you did it? :smiling_face_with_tear:

I’ve tried these instructions but it didn’t work, can you please tell me any other solution :sob:

Try this:
~/klippy-env/bin/pip install --force-reinstall numpy