Klippain install broke RatOS

I just tried to upgrade to the latest version of klippain shaketune (4.0.0). After updating through the manager, it required to run the following command as well: cd ~/klippain_shaketune && ./install.sh That did some stuff and then failed, throwing the error: ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/home/pi/klippy-env/lib/python3.9/site-packages/mpl_toolkits/mplot3d/proj3d.py' Check the permissions. Then I ran the following: wget -O - https://raw.githubusercontent.com/Frix-x/klippain-shaketune/main/install.sh | bash And got the same permissions error, even when using sudo in front of it. I finally rebooted the raspberry and now my RatOS is bricked, stating the following error: Internal error during connect: No module named 'matplotlib' Running: python3 -m pip install matplotlib Gave me the following: Defaulting to user installation because normal site-packages is not writeable Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Requirement already satisfied: matplotlib in /usr/lib/python3/dist-packages (3.3.4) Apart from wiping everything and installing RatOS from scratch I have no clue what to do, any help is greatly appreciated! ##UPDATE: Switching off power instead of just rebooting fixed the matplotlib error, the klippain install is however still broken. I'm marking this as solved but leaving this here for future reference.
2 Replies
qruret
qruretOP6mo ago
Pad
Pad3mo ago
The reason for this is that for whatever reason some of the packages within the klippy-env python env are owned by the root rather than the pi user, causing the installation to fail. I used sudo chown -R pi:pi ~/klippy-env/lib/python3.9/site-packages to make sure everything is owned by the user pi. After doing that I was able to install the latest version
Want results from more Discord servers?
Add your server