-
-
Notifications
You must be signed in to change notification settings - Fork 500
Description
What happened?
- Clean install of a new ComfyUI Package
- Start package normally, installs dependencies etc. no issues, numerous times
- Stop the package
- From Packages screen, select 3 dots, Package Commands, Install Triton and Sage Attention
- Installation starts, and end in an error - related to "
distutilswas removed from the standard library... "
Exception Details
Installing Triton
Using Python 3.12.11 environment at: venv
Resolved 2 packages in 105ms
Installed 1 package in 16ms
- triton-windows==3.4.0.post20
Downloading Python libraries
Download complete!
Extracting Python libraries
Downloading SageAttention
Cloning into 'D:\StabilityMatrix\Data\Packages\ComfyUITritonSage\SageAttention'...
Installing SageAttention
Using Python 3.12.11 environment at: venv
error: The build backend returned an error
Caused by: Call tosetuptools.build_meta:__legacy__.build_wheelfailed (exit code: 1)
[stderr]
Traceback (most recent call last):
File "", line 8, in
File "D:\StabilityMatrix\Data\Assets\uv\cache\builds-v0.tmpJR34Ed\Lib\site-packages\setuptools_init_.py", line 23, in
from . import logging, monkey
File "D:\StabilityMatrix\Data\Assets\uv\cache\builds-v0.tmpJR34Ed\Lib\site-packages\setuptools\logging.py", line 5, in
from . import monkey
File "D:\StabilityMatrix\Data\Assets\uv\cache\builds-v0.tmpJR34Ed\Lib\site-packages\setuptools\monkey.py", line 13, in
import distutils.filelist
ModuleNotFoundError: No module named 'distutils'
hint: distutils was removed from the standard library in Python 3.12. Consider adding a constraint to avoid building a package that depends on distutils.
Error: StabilityMatrix.Core.Exceptions.ProcessException: pip install failed with code 2: 'Using Python 3.12.11 environment at: venv\nerror: The build backend returned an error\n Caused by: Call to setuptools.build_meta:__legacy__.build_wheel failed (exit code: 1)\n\n[stderr]\nTraceback (most recent call last):\n File "", line 8, in \n File "D:\StabilityMatrix\Data\Assets\uv\cache\builds-v0.tmpJR34Ed\Lib\site-packages\setuptools_init_.py", line 23, in \n from . import logging, monkey\n File "D:\StabilityMatrix\Data\Assets\uv\cache\builds-v0.tmpJR34Ed\Lib\site-packages\setuptools\logging.py", line 5, in \n from . import monkey\n File "D:\StabilityMatrix\Data\Assets\uv\cache\builds-v0.tmpJR34Ed\Lib\site-packages\setuptools\monkey.py", line 13, in \n import distutils.filelist\nModuleNotFoundError: No module named 'distutils'\n\nhint: distutils was removed from the standard library in Python 3.12. Consider adding a constraint to avoid building a package that depends on distutils.\n'
at StabilityMatrix.Core.Python.UvVenvRunner.PipInstall(ProcessArgs args, Action1 outputDataReceived) at StabilityMatrix.Core.Models.PackageModification.InstallSageAttentionStep.ExecuteAsync(IProgress1 progress)
at StabilityMatrix.Core.Models.PackageModification.InstallSageAttentionStep.ExecuteAsync(IProgress1 progress) at StabilityMatrix.Core.Models.PackageModification.PackageModificationRunner.ExecuteSteps(IEnumerable1 steps)
Version
v2.15
What Operating System are you using?
Windows