Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The current version of python is not appropriate to run Kohya_ss GUI #2171

Closed
BenDes21 opened this issue Mar 28, 2024 · 6 comments
Closed

The current version of python is not appropriate to run Kohya_ss GUI #2171

BenDes21 opened this issue Mar 28, 2024 · 6 comments

Comments

@BenDes21
Copy link

BenDes21 commented Mar 28, 2024

Hi there
firefox_pzyaKZz3Pe

Would like to know how to allocate the correct version of python to Kohya_SS ( I have both 3.11 and 3.10.6 installed on windows )

Thanks you

@bmaltais
Copy link
Owner

bmaltais commented Mar 28, 2024

Make sure the gui see 3.10.6 when it run. At the moment it is seeing 3.11... and the kohya_s sd-scripts do not run properly under 3.11.x

@Sparhawker
Copy link

I have the same problem. How can I do that? Could you explain little bit more?

@bmaltais
Copy link
Owner

This is the question… I only have one python version on my system and never ran into this actual problem. Not sure I want to break my dev system to test…

@bmaltais
Copy link
Owner

bmaltais commented Mar 28, 2024

You might want to look at https://github.com/LykosAI/StabilityMatrix

It install a local copy of python and should allow you to run it... I have not tested it recently but I helped them make sure they could run v23.x.x within their solution... I will try to install it on my machine to see if it work.

@MaestroFury
Copy link

MaestroFury commented Mar 28, 2024

The best way honestly, is to just uninstall python completely from your system. Both versions. Restarted PC. Then install 3.10.9, restart PC. Unless you are doing dev work, installing 3.10.9 is perfectly good not just for Kohya, but I have actually noticed an improvement in performance on

Auto1111
SD Forge
FOOOCUS

so this cleaning of your PHP will have other benefits.

@BenDes21
Copy link
Author

The best way honestly, is to just uninstall python completely from your system. Both versions. Restarted PC. Then install 3.10.9, restart PC. Unless you are doing dev work, installing 3.10.9 is perfectly good not just for Kohya, but I have actually noticed an improvement in performance on

Auto1111 SD Forge FOOOCUS

so this cleaning of your PHP will have other benefits.

did it and its worked, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants