I’ve done everything according to instructions, and frustratingly, I think I have run into this before, but I can’t remember how I fixed it! Frustrating.
Everything is going fine, even through the resonance testing using the adxl345. However, when I get to these commands -
~/klipper/scripts/calibrate_shaper.py /tmp/resonances_x_.csv -o /tmp/shaper_calibrate_x.png
~/klipper/scripts/calibrate_shaper.py /tmp/resonances_y_.csv -o /tmp/shaper_calibrate_y.png
I get ;
Traceback (most recent call last):
File “/home/pi/klipper/scripts/calibrate_shaper.py”, line 11, in
import numpy as np, matplotlib
Now, I found a way on reddit that got me FURTHER… by direcly running the python in klippers directory…
./klippy-env/bin/python ~/klipper/scripts/calibrate_shaper.py /tmp/resonances_x_*.csv -o /tmp/shaper_calibrate_x.png
Now, it got stumped on;
Traceback (most recent call last):
File “/home/pi/klipper/scripts/calibrate_shaper.py”, line 11, in
import numpy as np, matplotlib
ImportError: No module named matplotlib
So, every other time I have had trouble, I have found a spot in the directions where I went wrong. This time, I just can’t find it! I am running this version;
Git version: ‘v0.10.0-112-g9ecddd1b’
CPU: 4 core ARMv7 Processor rev 4 (v7l)
Python: ‘2.7.16 (default, Oct 10 2019, 22:02:15) \n[GCC 8.3.0]’
Start printer at Wed Jun 15 18:12:45 2022 (1655313165.0 14.6)
Here is the weird thing… some time ago, I remember an urgent call to get into Python 3, and the best way was to get a new fresh installation of the new Octoprint. So I redid the entire installation. Why do I see Python 2.7 in here still? Did I miss something? There are no alerts coming up for Python anymore…
Thanks in advance, and sorry if I missed a detail.