Process for migrating to Python3?

Please be aware that you have absolutely no benefit / advantage in doing so.

Klipper use a virtual environment that is created with a defined Python version and needs to be recreated if changing the Python version.
You have two options:

sudo service klipper stop

# remove current klippy-env environment
cd ~
rm -rf klippy-env

# create new venv
virtualenv -p python3 klippy-env

#install new Klipper venv
cd ~/klippy-env
bin/pip install -r ../klipper/scripts/klippy-requirements.txt
4 Likes