makerbase-mks / MKS-PI

As we all know, the Klipper firmware has the advantages of high printing speed, high precision, and the ability to use the web page to control the printer, etc. MKS PI is a high-end microcomputer board designed by makerbase to replace the Raspberry Pi for the convenience of 3D printing users to use the Klipper firmware. In terms of hardware, MKS PI has a powerful 4-core 64-bit SOC onboard, with 1GBytes of DDR3 memory, supports HDMI screen interface and PI-TS35 screen interface, provides Ethernet port, 3-channel USB interfaces (can be connected to a 3D printer main board, USB Wireless network card, USB camera, U disk, USB keyboard and mouse, etc.); In terms of software, Makerbase provides a complete Klipper firmware transplanted based on the Armbian desktop system, and directly supports klipperScreen. Users only need to download the image file provided by Makerbase, burn it to the TF card, without a lot of construction work, use the usb port or serial port to connect your main board, configure the parameters on the webpage, and you can use the Klipper firmware happily!
GNU General Public License v3.0
112 stars 9 forks source link

Python is not updating on the latest version #72

Open leleomotta opened 5 months ago

leleomotta commented 5 months ago

When updating to the latest version of KlipperScreen, the Python version gives an error. The installed version is 3.7.3 and the minimum requirement is 3.8. There is no point running apt upgrade and update as the version is not updating correctly. And it's still causing problems in the buster-backports repository (deb http://deb.debian.org/debian buster-backports main contrib non-free)

tup8806 commented 5 months ago

Did you find a fix for this because I'm having the same problem

IgorVoznyj commented 5 months ago

Did you find a fix for this because I'm having the same problem

leleomotta commented 5 months ago

I didn't find the ideal solution. What I did was reinstall everything and didn't update KlipperScreen.

lokertr commented 5 months ago

Not a fix, but a work around to keep KlipperScreen functional. Go ahead and edit screen.py in /home/mks/KlipperScreen on line 147 change min_ver = (3, 8) to min_ver = (3, 7).

Then open a terminal window and enter cd KlipperScreen then git reset --hard v0.4.1

KlipperScreen should come back to life.

leleomotta commented 5 months ago

Hello. Thanks a lot for the help. It really worked and now you can use the latest version of KlipperScreen!

nervino666 commented 5 months ago

Not a fix, but a work around to keep KlipperScreen functional. Go ahead and edit screen.py in /home/mks/KlipperScreen on line 147 change min_ver = (3, 8) to min_ver = (3, 7).

Then open a terminal window and enter cd KlipperScreen then git reset --hard v0.4.1

KlipperScreen should come back to life.

Hi, I followed your advice, but I can't install KlipperSreen again, it gives me a Python 3.8 nn found error.

fbeltrao-br commented 4 months ago
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.10 python3.10-dev python3.10-venv
leleomotta commented 3 months ago

After running the command "sudo add-apt-repository ppa:deadsnakes/ppa" the update gives an error:

Hit:1 http://archive.debian.org/debian buster-backports InRelease Hit:2 http://deb.debian.org/debian buster InRelease Hit:3 http://deb.debian.org/debian buster-updates InRelease Hit:4 http://security.debian.org buster/updates InRelease Ign:5 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu oracular InRelease Err:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu oracular Release 404 Not Found [IP: 2620:2d:4000:1::81 80] Reading package lists... Done E: The repository 'http://ppa.launchpad.net/deadsnakes/ppa/ubuntu oracular Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.

nervino666 commented 3 months ago

Grazie ho risolto installando armbian per mkspi, ora va benissimo.

Il Lun 5 Ago 2024, 18:13 leleomotta @.***> ha scritto:

After running the command "sudo add-apt-repository ppa:deadsnakes/ppa" the update gives an error:

Hit:1 http://archive.debian.org/debian buster-backports InRelease Hit:2 http://deb.debian.org/debian buster InRelease Hit:3 http://deb.debian.org/debian buster-updates InRelease Hit:4 http://security.debian.org buster/updates InRelease Ign:5 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu oracular InRelease Err:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu oracular Release 404 Not Found [IP: 2620:2d:4000:1::81 80] Reading package lists... Done E: The repository 'http://ppa.launchpad.net/deadsnakes/ppa/ubuntu oracular Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.

— Reply to this email directly, view it on GitHub https://github.com/makerbase-mks/MKS-PI/issues/72#issuecomment-2269434052, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJOKXNVSIRCRD35VRGGQ55LZP6QA5AVCNFSM6AAAAABIZA3X66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRZGQZTIMBVGI . You are receiving this because you commented.Message ID: @.***>

swalsh11 commented 6 days ago

you need a new install that supports python 3.8 or better. Get a new class A2 ssd card. backup your print.cfg files and any other customised configs. Download bullseye or bookworm image from: https://github.com/redrathnure/armbian-mkspi/releases. Flash new ssd ssd with Blaena Etecher Edit d:\dtb\rockchip/rk3328-roc-cc.dtb to fix lcd rotation.
on First boot set default user name mks. Full install instructions: https://github.com/redrathnure/armbian-mkspi

plug in network cable and ssh into the machine with putty

Install kiauh by entering this command. cd ~ git clone https://github.com/th33xitus/kiauh.git ./kiauh/kiauh.sh

in Kiauh install: Klipper, moonraker, mainsail/ fluid, klipperscreen, shell command, & klipper backup. flash mcu with linux process https://www.klipper3d.org/RPi_microcontroller.html Copy over you old print.cfg files to new machine