Printer Model: Creality Ender 5 Plus
MCU / Printerboard: BTT SKR 3 ez
Describe your issue:
Hey everyone, i am trying to setup and run input shaper and i am running into an issue. i have installed everything on the pi per the install page and everything seems to install corretly.
i run my senssor querry and i get values back like its working. but as soon as i try to test resoneance i get this error
i go back and do some check on the pi to see if the numpy is installed and it says its up to date and everything. i am running on python 2.7 i believe i have 3 installed on my pi as well.
i input these commands per the install and i get an okay install to the pi but still get the error.
i get a message saying it is installed the most updated verison of the numpy but still same error message.
Here both variants will work. As default the “external” scripts will use Python 3.
Klipper internal commands, e.g.
SHAPER_CALIBRATE
will use their own environment. This venv is created during Klipper installation and today, by default, is still Python 2 (and only Python 2 is officially supported).
So, both are needed, depending on what you do.
Please post the output of:
~/klippy-env/bin/pip install -v numpy
Of course run / logged-in as the user under which you run Klipper.
Output of the 3rd command looks a bit strange but would also indicate that numpy is installed.
Sorry, no more ideas.
A workaround would be to use the TEST_RESONANCES AXIS=... commands instead of SHAPER_CALIBRATE and use the external scripts to do the analysis. See measuring-the-resonances
I agree, update that system first. PIP isn’t finding any of the numpy stuff for 2.7, so that’s why it’s not working. I’m hoping the update will point you at a repo that has it, and this isn’t indication of the 2.7 stuff getting pulled from PIP. If that’s the case, that python 3.x “bridge” we’ve been waiting to cross, is dead ahead.
i am very bad with the programming. do i need to enter all these commands? i know i have at least python 2 and 3 installed on my pi thinking not havning pythong 3 installed since the install instrustions call for pythong 3. will this affect anything else? should i also uninstalled pythong 3?
I came here having the same issue and your instructions worked for me. The end-of-life messages for python 2.7 make me wish I had found a way to make it work with python3 but working is working.
I copy/pasted commands from Hundbuah’s post into command line one at a time. When finished I ran “TEST_RESONANCES AXIS=X” from the fluidd command line and I no longer received the numpy error.