Comments (5)
Hi,
I upgraded my Python version from 3.7 to 3.9 just to test this issue you are reporting but i can't reproduce it...
The check which is done is pretty simple...
if [ $(python3 --version | cut -d"." -f2) -ge 7 ]; then
<do stuff>
else
<error message>
fi
So as soon as [ $(python3 --version | cut -d"." -f2) -ge 7 ]
evaluates to true, which is does when the second number in the python 3 version number is greater or equal to 7, the moonraker installation will start.
So something like if [ $(python3 --version | cut -d"." -f2) -ge 7 ]; then echo "true"; fi
will still print true to my console now.
from kiauh.
I just tested, using if [ $(python3 --version | cut -d"." -f2) -ge 7 ]; then echo "true"; fi
on command line does result in "true", but if I select 1 - install -> 2 - moonraker it results in the same error message. Weird.
edit: and I even upgraded to buster before. I think I will start with a blank installation and test again.
from kiauh.
I have to do some rework on the moonraker installer anyways. I will rewrite the python version check a little bit, make it its own function and then we can try again if that works out. At the moment i really have no clue why this is not working for you.
EDIT:
I have rewritten the python check now. Please update KIAUH and test again.
4fe964e#diff-7ff809d509cdc196b5d375006145e674746de91e96c328fb4b3322d707043027
But tbh i am not pretty convinced that this will change anything, since it more or less still relais on the same commands and processing of their output. Now it will just check the major version AND the minor version of python.
from kiauh.
In the meantime I just wiped the installation and set up a fresh rasbian lite image and here it works without issues. I don't know what the problem could have been.
Thank you very much anyways!
from kiauh.
Interesting. So i guess it might be due to the manual update of python3 then?
I also encountered issues when trying to install moonraker with a manually updated python3 version.
Setting up the virtual environment failed then iirc.
But im happy to hear, that everything works now for you! Cheers.
from kiauh.
Related Issues (20)
- Can't install on Qidi printer, Permission denied kiauh.log HOT 2
- Multi Printer setup using gcode shell command does not play audio unless command used multiple times and only on second printer when shell script is run in background (&)
- I couldn't use the custom macros that i created with gcode_shell command in a gcode file HOT 1
- Installing KlipperScreen via KIAUH causes /dev/null permissions errors HOT 2
- Install pyserial with python HOT 3
- fix: create_required_folders removes symlink to gcodes
- Installing Klipper packages failed! - Échec de la connexion [IP : 199.232.170.132 80]
- python3.10
- KlipperScreen install randomizes MAC address
- mainsail file permissions 403 errors -- set umask to 022
- Stuck instalation Raspberry Pi Zero 2W with Raspberry Pi OS Lite (32bit) BookWorm HOT 3
- camera-streamer on rpi5 HOT 2
- feat: possibility to set custom install directory HOT 4
- feat: copy instances/endpoints info while updating mainsail/fluidd HOT 2
- Cloning Klipper from https://github.com/Klipper3d/klipper : failed! HOT 3
- Set name to access in local network HOT 2
- local dep for unzip missing in fluidd.sh and mainsail.sh HOT 1
- Bad ref for git/logs/refs/remotes/origin/protoupdate
- BeagleBone Black and Replicape
- feat: only git clone --depth 1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kiauh.