LykosAI / StabilityMatrix

Multi-Platform Package Manager for Stable Diffusion
https://lykos.ai
GNU Affero General Public License v3.0
4.83k stars 311 forks source link

ComfyUI package install error #1003

Open sirolim opened 1 week ago

sirolim commented 1 week ago

What happened?

When I make an install attempt of the ComfyUI package in a clean install of Stability Matrix the installation is failing. The error is appearing in both cases, global and portable version of Stability Matrix.

The comfyanonymous ComfyUI portable version works flawless. But I'd prefer to use Stability Matrix.

Steps to reproduce

  1. Clean download and install of Stability Matrix
  2. Attempting ComfyUI package install
  3. During installation error is happening

Relevant logs

Unpacking resources
Unpacking resources
Download complete!
Python download complete
Download complete!
Tkinter download complete
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Extracting
Done extracting
Tkinter install complete
Download complete!
Git download complete
mingw64\lib\tcl8.6\msgs\zh.msg
mingw64\lib\tcl8.6\tzdata\Australia\Tasmania
mingw64\lib\tk8.6\msgs\sv.msg
mingw64\share\doc\git-doc\gitweb.conf.html
mingw64\share\perl5\Git\SVN\Editor.pm
usr\lib\terminfo\73\screen-16color-s
usr\share\nano\lua.nanorc
usr\share\perl5\core_perl\Tie\Handle.pm
usr\share\perl5\core_perl\unicore\lib\InSC\Consona6.pl
usr\share\perl5\core_perl\unicore\lib\Term\Y.pl
usr\share\terminfo\78\xterm-1005
usr\share\vim\vim90\doc\options.txt
usr\share\vim\vim90\ftplugin\markdown.vim
usr\share\vim\vim90\keymap\arabic_utf-8.vim
usr\share\vim\vim90\lang\uk\LC_MESSAGES\vim.mo
usr\share\vim\vim90\syntax\euphoria4.vim
usr\share\vim\vim90\syntax\readline.vim
bin\bash.exe
mingw64\bin\git-credential-manager.exe
mingw64\bin\libSkiaSharp.dll
mingw64\bin\p11-kit.exe
mingw64\libexec\git-core\System.Memory.dll
usr\bin\df.exe
usr\bin\msys-gcrypt-20.dll
usr\bin\msys-wind-0.dll
usr\lib\perl5\core_perl\auto\Encode\CN\CN.dll
Download Complete
Requirement already satisfied: pip in c:\tools\stabilitymatrix\packages\comfyui\venv\lib\site-packages (24.3.1)
Requirement already satisfied: wheel in c:\tools\stabilitymatrix\packages\comfyui\venv\lib\site-packages (0.44.0)
Collecting wheel
  Using cached wheel-0.45.0-py3-none-any.whl.metadata (2.3 kB)
Using cached wheel-0.45.0-py3-none-any.whl (72 kB)
Installing collected packages: wheel
  Attempting uninstall: wheel
    Found existing installation: wheel 0.44.0
    Uninstalling wheel-0.44.0:
      Successfully uninstalled wheel-0.44.0
  Rolling back uninstall of wheel
  Moving to c:\tools\stabilitymatrix\packages\comfyui\venv\lib\site-packages\wheel-0.44.0.dist-info\
   from C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\Lib\site-packages\~heel-0.44.0.dist-info
  Moving to c:\tools\stabilitymatrix\packages\comfyui\venv\lib\site-packages\wheel-0.44.0.virtualenv
   from C:\Users\peter\AppData\Local\Temp\pip-uninstall-ogr4c02r\wheel-0.44.0.virtualenv
  Moving to c:\tools\stabilitymatrix\packages\comfyui\venv\lib\site-packages\wheel\
   from C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\Lib\site-packages\~heel
  Moving to c:\tools\stabilitymatrix\packages\comfyui\venv\scripts\wheel-3.10.exe
   from C:\Users\peter\AppData\Local\Temp\pip-uninstall-g4x735t_\wheel-3.10.exe
  Moving to c:\tools\stabilitymatrix\packages\comfyui\venv\scripts\wheel.exe
   from C:\Users\peter\AppData\Local\Temp\pip-uninstall-g4x735t_\wheel.exe
  Moving to c:\tools\stabilitymatrix\packages\comfyui\venv\scripts\wheel3.10.exe
   from C:\Users\peter\AppData\Local\Temp\pip-uninstall-g4x735t_\wheel3.10.exe
  Moving to c:\tools\stabilitymatrix\packages\comfyui\venv\scripts\wheel3.exe
   from C:\Users\peter\AppData\Local\Temp\pip-uninstall-g4x735t_\wheel3.exe
ERROR: Exception:
Traceback (most recent call last):
  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_internal\cli\base_command.py", line 105, in _run_wrapper
    status = _inner_run()
  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_internal\cli\base_command.py", line 96, in _inner_run
    return self.run(options, args)
  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_internal\cli\req_command.py", line 67, in wrapper
    return func(self, options, args)
  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_internal\commands\install.py", line 457, in run
    installed = install_given_reqs(
  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_internal\req\__init__.py", line 70, in install_given_reqs
    requirement.install(
  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_internal\req\req_install.py", line 867, in install
    install_wheel(
  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_internal\operations\install\wheel.py", line 732, in install_wheel
    _install_wheel(
  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_internal\operations\install\wheel.py", line 649, in _install_wheel
    generated_console_scripts = maker.make_multiple(scripts_to_generate)
  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_vendor\distlib\scripts.py", line 446, in make_multiple
    filenames.extend(self.make(specification, options))
  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_internal\operations\install\wheel.py", line 419, in make
    return super().make(specification, options)
  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_vendor\distlib\scripts.py", line 435, in make
    self._make_script(entry, filenames, options=options)
  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_vendor\distlib\scripts.py", line 340, in _make_script
    self._write_script(scriptnames, shebang, script, filenames, ext)
  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_vendor\distlib\scripts.py", line 265, in _write_script
    launcher = self._get_launcher('t')
  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_vendor\distlib\scripts.py", line 414, in _get_launcher
    raise ValueError(msg)
ValueError: Unable to find resource t64.exe in package pip._vendor.distlib
Error: StabilityMatrix.Core.Exceptions.ProcessException: pip install failed with code 2: 'Requirement already satisfied: pip in c:\tools\stabilitymatrix\packages\comfyui\venv\lib\site-packages (24.3.1)\r\nRequirement already satisfied: wheel in c:\tools\stabilitymatrix\packages\comfyui\venv\lib\site-packages (0.44.0)\r\nCollecting wheel\r\n  Using cached wheel-0.45.0-py3-none-any.whl.metadata (2.3 kB)\r\nUsing cached wheel-0.45.0-py3-none-any.whl (72 kB)\r\nInstalling collected packages: wheel\r\n  Attempting uninstall: wheel\r\n    Found existing installation: wheel 0.44.0\r\n    Uninstalling wheel-0.44.0:\r\n      Successfully uninstalled wheel-0.44.0\r\n  Rolling back uninstall of wheel\r\n  Moving to c:\tools\stabilitymatrix\packages\comfyui\venv\lib\site-packages\wheel-0.44.0.dist-info\\r\n   from C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\Lib\site-packages\~heel-0.44.0.dist-info\r\n  Moving to c:\tools\stabilitymatrix\packages\comfyui\venv\lib\site-packages\wheel-0.44.0.virtualenv\r\n   from C:\Users\peter\AppData\Local\Temp\pip-uninstall-ogr4c02r\wheel-0.44.0.virtualenv\r\n  Moving to c:\tools\stabilitymatrix\packages\comfyui\venv\lib\site-packages\wheel\\r\n   from C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\Lib\site-packages\~heel\r\n  Moving to c:\tools\stabilitymatrix\packages\comfyui\venv\scripts\wheel-3.10.exe\r\n   from C:\Users\peter\AppData\Local\Temp\pip-uninstall-g4x735t_\wheel-3.10.exe\r\n  Moving to c:\tools\stabilitymatrix\packages\comfyui\venv\scripts\wheel.exe\r\n   from C:\Users\peter\AppData\Local\Temp\pip-uninstall-g4x735t_\wheel.exe\r\n  Moving to c:\tools\stabilitymatrix\packages\comfyui\venv\scripts\wheel3.10.exe\r\n   from C:\Users\peter\AppData\Local\Temp\pip-uninstall-g4x735t_\wheel3.10.exe\r\n  Moving to c:\tools\stabilitymatrix\packages\comfyui\venv\scripts\wheel3.exe\r\n   from C:\Users\peter\AppData\Local\Temp\pip-uninstall-g4x735t_\wheel3.exe\r\nERROR: Exception:\r\nTraceback (most recent call last):\r\n  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_internal\cli\base_command.py", line 105, in _run_wrapper\r\n    status = _inner_run()\r\n  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_internal\cli\base_command.py", line 96, in _inner_run\r\n    return self.run(options, args)\r\n  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_internal\cli\req_command.py", line 67, in wrapper\r\n    return func(self, options, args)\r\n  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_internal\commands\install.py", line 457, in run\r\n    installed = install_given_reqs(\r\n  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_internal\req\__init__.py", line 70, in install_given_reqs\r\n    requirement.install(\r\n  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_internal\req\req_install.py", line 867, in install\r\n    install_wheel(\r\n  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_internal\operations\install\wheel.py", line 732, in install_wheel\r\n    _install_wheel(\r\n  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_internal\operations\install\wheel.py", line 649, in _install_wheel\r\n    generated_console_scripts = maker.make_multiple(scripts_to_generate)\r\n  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_vendor\distlib\scripts.py", line 446, in make_multiple\r\n    filenames.extend(self.make(specification, options))\r\n  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_internal\operations\install\wheel.py", line 419, in make\r\n    return super().make(specification, options)\r\n  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_vendor\distlib\scripts.py", line 435, in make\r\n    self._make_script(entry, filenames, options=options)\r\n  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_vendor\distlib\scripts.py", line 340, in _make_script\r\n    self._write_script(scriptnames, shebang, script, filenames, ext)\r\n  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_vendor\distlib\scripts.py", line 265, in _write_script\r\n    launcher = self._get_launcher('t')\r\n  File "C:\Tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\pip\_vendor\distlib\scripts.py", line 414, in _get_launcher\r\n    raise ValueError(msg)\r\nValueError: Unable to find resource t64.exe in package pip._vendor.distlib\r\n'
   at StabilityMatrix.Core.Python.PyVenvRunner.PipInstall(ProcessArgs args, Action`1 outputDataReceived)
   at StabilityMatrix.Core.Models.Packages.ComfyUI.InstallPackage(String installLocation, InstalledPackage installedPackage, InstallPackageOptions options, IProgress`1 progress, Action`1 onConsoleOutput, CancellationToken cancellationToken)
   at StabilityMatrix.Core.Models.Packages.ComfyUI.InstallPackage(String installLocation, InstalledPackage installedPackage, InstallPackageOptions options, IProgress`1 progress, Action`1 onConsoleOutput, CancellationToken cancellationToken)
   at StabilityMatrix.Core.Models.PackageModification.InstallPackageStep.ExecuteAsync(IProgress`1 progress, CancellationToken cancellationToken)
   at StabilityMatrix.Core.Models.PackageModification.PackageModificationRunner.ExecuteSteps(IEnumerable`1 steps)

Version

2.12.3

What Operating System are you using?

Windows