bmaltais / kohya_ss

Apache License 2.0
8.86k stars 1.16k forks source link

%1 is not a valid win32 application #2229

Open Loser02 opened 3 months ago

Loser02 commented 3 months ago

sooo im getting this error: Traceback (most recent call last): File "C:\ai\kohya\kohya_ss\kohya_gui.py", line 4, in from kohya_gui.class_gui_config import KohyaSSGUIConfig File "C:\ai\kohya\kohya_ss\kohya_gui\class_gui_config.py", line 2, in from .common_gui import scriptdir File "C:\ai\kohya\kohya_ss\kohya_gui\common_gui.py", line 1, in from tkinter import filedialog, Tk File "C:\Users\loope\AppData\Local\Programs\Python\Python310\lib\tkinter__init__.py", line 37, in import _tkinter # If this fails your Python may not be configured for Tk ImportError: DLL load failed while importing _tkinter: %1 is not a valid Win32 application.

bmaltais commented 3 months ago

Make sure to install the python.org version of Python as per the link provided in the README.md