kohya_ss icon indicating copy to clipboard operation
kohya_ss copied to clipboard

Ubuntu 24.04 issue

Open L4Ph opened this issue 9 months ago • 3 comments

It appears that starting from Ubuntu 24.04, the command

apt install python3.10-venv

can no longer be used. Although the support for 22.04 will end in 2027, so it's not a pressing issue for now, the standard Ubuntu version installed on WSL changes when the LTS version changes, so it might be a good idea to document an alternative solution as a precaution. image

L4Ph avatar May 12 '24 12:05 L4Ph

Hopefully sd-scripts will be upgraded top support more recent version of Python. I am really bound top the requirements of the sd-scripts for the GUI. This is something kohya has to update on his sd-scripts repo before I can support newer version of Python.

bmaltais avatar May 12 '24 14:05 bmaltais

You should be able to use the deadsnakes PPA to install custom Python versions.

ashleykleynhans avatar May 29 '24 19:05 ashleykleynhans

I also have this Docker image that you should be able to use as a work-around: https://github.com/ashleykleynhans/kohya-docker

ashleykleynhans avatar May 29 '24 19:05 ashleykleynhans