Printer Model: Ender3Pro
MCU / Printerboard:SKR Mini E3v3
Fill out above information and in all cases attach your
klippy.log file. Pasting your
printer.cfg is not needed
Describe your issue:
Hello, tried to install Klipper on my Ubuntu Octoprint pc and got the python-dev error. So I removed it from the install script to see what would happen and got a whole bunch of errors. I have both python 3.10 and 2 installed. It looks like Klipper isn’t liking the python3.10 virtualenv. Anyone know if there’s a working version for Klipper for python3.1?
I’ve attached the terminal output in the attached text file.
KlipperInstallOutput.txt (28.2 KB)
Python 3 is not yet officially supported. Any special reason why you need to use it?
My Ubuntu has the latest version installed. I installed Python 2 but I couldn’t get Klipper to install as you can see by the text file. If I had nothing else installed I could have done a clean install but unfortunately I can’t.
Hi Sineos, thank you finally got some time off will try this today… but before I do, i have this version installed…
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Is it still the same proceedure? Cause I got this error… (See attached txt)
Errors.txt (8.1 KB)
sudo apt install python2-setuptools-whl
rm -rf ~/klippy-env ~/klipper
git clone https://github.com/Klipper3d/klipper
sed -i 's/python-dev/python2-dev/g' ~/klipper/scripts/install-ubuntu-18.04.sh
Ok so no errors but still a warning…
Warning.txt (2.2 KB)
All fine, the warnings can be safely ignored.
So just proceed with these 2 steps and start the clipper setup as per the instructions from the site?
- If all ran without errors, revert the change to avoid marking your installation as dirty
sed -i 's/python2-dev/python-dev/g' ~/klipper/scripts/install-ubuntu-18.04.sh
- Add the
ubuntu user to the
sudo usermod -a -G dialout ubuntu