kohya_ss
kohya_ss copied to clipboard
Ubuntu 24.04 issue
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.
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.
You should be able to use the deadsnakes PPA to install custom Python versions.
I also have this Docker image that you should be able to use as a work-around: https://github.com/ashleykleynhans/kohya-docker