krita-ai-diffusion icon indicating copy to clipboard operation
krita-ai-diffusion copied to clipboard

Local server installation keeps failing

Open AspectParadox-dev opened this issue 11 months ago • 1 comments

Ive tried everything ChatGPT suggested, making a symbolic link of python.exe in windowsapps that points to py, everything, yet I still keep getting this error when setting up my local machine. I'm the first person to experience this, and your installer does nothing to catch or report the real problem. This is developer negligence, and I hope you seriously reconsider how you treat non-technical users in your next update.

2025-05-10 11:29:18,271 ERROR [WinError 2] The system cannot find the file specified Traceback (most recent call last): File "C:\Users\Name\AppData\Roaming\krita\pykrita\ai_diffusion\server.py", line 310, in install await self._install(cb) File "C:\Users\Name\AppData\Roaming\krita\pykrita\ai_diffusion\server.py", line 150, in _install await try_install(self.path / "uv", self._install_uv, network, cb) File "C:\Users\Name\AppData\Roaming\krita\pykrita\ai_diffusion\server.py", line 631, in try_install raise e File "C:\Users\Name\AppData\Roaming\krita\pykrita\ai_diffusion\server.py", line 626, in try_install await installer(*args) File "C:\Users\Name\AppData\Roaming\krita\pykrita\ai_diffusion\server.py", line 205, in _install_uv await _execute_process("Python", cmd, self.path, cb, env=env) File "C:\Users\Name\Name\Roaming\krita\pykrita\ai_diffusion\server.py", line 603, in _execute_process process = await create_process(cmd[0], *cmd[1:], cwd=cwd, additional_env=env, pipe_stderr=True) File "C:\Users\Name\AppData\Roaming\krita\pykrita\ai_diffusion\util.py", line 222, in create_process p = await asyncio.create_subprocess_exec( File "asyncio\subprocess.py", line 218, in create_subprocess_exec File "asyncio\base_events.py", line 1667, in subprocess_exec File "asyncio\windows_events.py", line 394, in _make_subprocess_transport File "asyncio\base_subprocess.py", line 36, in init File "asyncio\windows_events.py", line 890, in _start File "asyncio\windows_utils.py", line 153, in init File "subprocess.py", line 969, in init File "subprocess.py", line 1438, in _execute_child FileNotFoundError: [WinError 2] The system cannot find the file specified 2025-05-10 11:29:18,272 ERROR Installation failed 2025-05-10 11:29:18,272 INFO Found server installation vincomplete at C:\Users\Name\AppData\Roaming\krita\ai_diffusion\server

AspectParadox-dev avatar May 10 '25 15:05 AspectParadox-dev

It looks like powershell cannot be found. Which version of windows is this? How did you install Krita (from website, or windows store, or something else)?

Acly avatar May 10 '25 17:05 Acly