Fresh install of klipper using OctoPi-Klipper image sourced by Raspberry PI imager
Linux octopi 5.10.63-v7+ #1496 SMP Wed Dec 1 15:58:11 GMT 2021 armv7l
OctoPrint version : 1.7.3
OctoPi version : 0.18.0
If I run ~/klippy-env/bin/pip install -v numpy I receive the error No such file or directory.
What I am missing?
Should not be needed. If so, likely something else has gone wrong before why I still would recommend to redo the install according to the documentation.
Just today on discord I have seen that the OctoKlipper image is using a bad place for the klippy-env. It is not /home/pi/klippy-env, but /home/pi/klipper/klippy-env. It is inside the Klipper source directory, shocking!
OctoPi as mentioned in the official documentation does not contain a Klipper install
The install script explicitly sets PYTHONDIR="${HOME}/klippy-env"
OctoKlipper is just an OctoPrint plugin that does not care about the venv
Of course possible if some is willingly mangling the install or doing other strange things. If someone is following the documentation surely this does not happen.
I believe theyâre referring to this distro that includes Octoprint and Klipper preinstalled. It appears they just fixed this issue. Not sure why anyone thought that was a good idea in the first place.
Okay, I know what the OctoKlipper-Plugin is and does. I just used a wrong naming. That doesnât mean that I am wrong. For me there is a difference between an image and a plugin.
First, I just pointed out that it basically cannot happen when following the official documentation.
Second, Iâd call many things in this world âshockingâ but not a bug in a Linux image. Especially not when talking about the maintainer of OctoPi who is dedicating his free time to providing this since over 9 years.
I only tried to help with this issue, because I stumbled about it in klipper discord when I helped another guy.
What shocks me is my own business and of course YMMV.
But donât worry, I will not try to help again
@Sineos Replying from my other post in regards to this same issue after installing Klipper via the Pi Imager OctoKlipper image.
When I remove the klipper folders and run a fresh install, would I need to run the [make menuconfig] to create a new bin file to flash to the printer mainboard?
If you already successfully flashed your board and your printer was connecting then there is no need to do it again.
One exception: If Klipperâs code base changed too much between two updates then you will receive an error message about a mismatch between host and board. Something along the lines:
mcu 'mcu': Unable ... REASON WHY KLIPPER IS UNHAPPY
This type of error is frequently caused by running an older
version of the firmware on the micro-controller (fix by
recompiling and flashing the firmware).
Known versions: host=v0.10.0-111-gdccd5554, mcu=v0.9.1-779-g59bd51d2, rpi=v0.9.1-786-gc2d3a168
@Sineos, I followed the instructions above. I deleted the klipper folder, then did a fresh install of Klipper and reflashed the firmware as per the installation page. Now I get an error in Octoprint that tmp/klippy.log and tmp/printer does not exist, and klipper will not connect to mainboard in Octoprint.
Should there be a /tmp/printer folder? I dont see that either.
I reran the installer after running the recommended Klipper uninstall script and now it shows the printer folder and the klippy.log in the tmp directory after install.
hello, I am also using the OctoPi-Klipper image provided by the Raspberry PI imager, and I had the same problem, what happens is that in this image to install numpy the path is different, use this command:
~/oprint/bin/pip install -v numpy