Hi guys, after borking my mainsail setup, i tried reinstalling everything and got stuck on the klipper install:
Warning! Maybe im just too dumb and installed a wrong package, so proceed with care.
Im using a chinese bananapi m2 zero, because raspis are just too expensive for me. the os is armbian based on 6.0.10-sunxi kernel. so far so janky :S Next i tried the kiauh script to install klipper and it installed a bunch of stuff but broke: " ERROR: Failed building wheel for greenlet" i installed greenlet myself using pip, but that was ignored by the script for some reason.
Next i tried following the mainsail guide for manual setup: everything fine, a lot was already installed (i guess from kiauh). But then python-dev was not found, i installed the alternative python-dev-is-python3 which seemed to work. then the guide sais "virtualenv -p python2 ./klippy-env" but python2 was not found on my setup, so i did virtualenv -p python3 ./klippy-env (is this step outdated? in the beginning of the guide it asks you to check weather you have python 3.7 or higher). In the next step i got the same error as with kiauh. Im totally lost which part is the problem with my setup 😦 if i had to guess, id say its my python install, but i dont know how to get the one i need or which one is the one i need.
pls help. thank you for reading!
ps i can post a stack trace of the error, but its loong. should i upload it as a file?
#Compatibility issue greenlet vs python 3 while installing klipper?
4 messages · Page 1 of 1 (latest)
I also found this thread saying greenlet 1.1.2 is incompatible with pyhton 3.11, but 1.1.3 is. https://github.com/gevent/gevent/issues/1903 https://github.com/python-greenlet/greenlet/blob/maint/1.1/CHANGES.rst#113-2022-08-25
Description: I tried installing gevent latest (21.12.0) through pip with Python 3.11, through alpine docker image and encountered a build error, while Python versions 3.10 + 3.9 + 3.7 did not have ...
i changed the greenlet version number to 1.1.3 in ./klipper/scripts/klippy-requirements.txt and the install works. i pray that klipper doesnt break now :S
spoke to a klipper person: they said the dependencies are for python 3.9. the issue will be resolved when 3.11 rolls out for debian stable.