derrian-distro / LoRA_Easy_Training_Scripts

A UI made in Pyside6 to make training LoRA/LoCon and other LoRA type models in sd-scripts easy
GNU General Public License v3.0
1.08k stars 104 forks source link

Unable to Install #250

Open Larry3best opened 5 days ago

Larry3best commented 5 days ago

I get this error when trying to install with windows 11. I suspect that it might have to do with the space in the user I am logged in as.

Traceback (most recent call last):
  File "E:\documents\sd.webui\LoRA_Easy_Training_Scripts\install.py", line 68, in <module>
    main()
  File "E:\documents\sd.webui\LoRA_Easy_Training_Scripts\install.py", line 40, in main
    subprocess.check_call(f"{python} -m venv venv", shell=sys.platform == "linux")
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 364, in check_call
    retcode = call(*popenargs, **kwargs)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 345, in call
    with Popen(*popenargs, **kwargs) as p:
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1456, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
OSError: [WinError 193] %1 is not a valid Win32 application
Press any key to continue . . .
derrian-distro commented 5 days ago

unfortunately, I don't think I can fix this one, spaces in paths is almost always the worst possible thing for a program to encounter, I handle spaces as best I can, but this is an error in python itself, so it's not something I can change