Skip to content

ComfyUI fails to launch - missing module named 'typing_extensions' #1498

@SiegeKeebsOffical

Description

@SiegeKeebsOffical

Package

ComfyUI

When did the issue occur?

Running the Package

What GPU / hardware type are you using?

RTX5090, 9800X3D, 64gb RAM

What happened?

When trying to launch ComfyUI I get this error - I tried manually installing through the python run command in settings - but it said it's already installed

Traceback (most recent call last):
File "C:\StableDiffusion\Packages\ComfyUI\main.py", line 14, in
from comfy_execution.progress import get_progress_state
File "C:\StableDiffusion\Packages\ComfyUI\comfy_execution\progress.py", line 4, in
from typing_extensions import override
ModuleNotFoundError: No module named 'typing_extensions'

When trying to update I get this error:

Your branch is up to date with 'origin/master'.
Already on 'master'
Using Python 3.10.11 environment at: venv
Resolved 2 packages in 38ms
Audited 2 packages in 0.16ms
Using Python 3.10.11 environment at: venv
× Failed to read numpy==1.26.4
├─▶ Failed to read metadata from installed package numpy==1.26.4
╰─▶ failed to open file
C:\StableDiffusion\Packages\ComfyUI\venv\Lib\site-packages\numpy-1.26.4.dist-info\METADATA:
The system cannot find the file specified. (os error 2)
Could not update ComfyUI (StabilityMatrix.Core.Exceptions.ProcessException: pip install failed with code 1: 'Using Python 3.10.11 environment at: venv\n \u00d7 Failed to read numpy==1.26.4\n \u251c\u2500\u25b6 Failed to read metadata from installed package numpy==1.26.4\n \u2570\u2500\u25b6 failed to open file\n C:\StableDiffusion\Packages\ComfyUI\venv\Lib\site-packages\numpy-1.26.4.dist-info\METADATA:\n The system cannot find the file specified. (os error 2)\n'
at StabilityMatrix.Core.Python.UvVenvRunner.PipInstall(ProcessArgs args, Action1 outputDataReceived) at StabilityMatrix.Core.Models.Packages.BaseGitPackage.StandardPipInstallProcessAsync(IPyVenvRunner venvRunner, InstallPackageOptions options, InstalledPackage installedPackage, PipInstallConfig config, Action1 onConsoleOutput, IProgress1 progress, CancellationToken cancellationToken) at StabilityMatrix.Core.Models.Packages.ComfyUI.InstallPackage(String installLocation, InstalledPackage installedPackage, InstallPackageOptions options, IProgress1 progress, Action1 onConsoleOutput, CancellationToken cancellationToken) at StabilityMatrix.Core.Models.Packages.ComfyUI.InstallPackage(String installLocation, InstalledPackage installedPackage, InstallPackageOptions options, IProgress1 progress, Action1 onConsoleOutput, CancellationToken cancellationToken) at StabilityMatrix.Core.Models.Packages.BaseGitPackage.Update(String installLocation, InstalledPackage installedPackage, UpdatePackageOptions options, IProgress1 progress, Action1 onConsoleOutput, CancellationToken cancellationToken) at StabilityMatrix.Core.Models.PackageModification.UpdatePackageStep.ExecuteAsync(IProgress1 progress, CancellationToken cancellationToken)
at StabilityMatrix.Core.Models.PackageModification.PackageModificationRunner.ExecuteSteps(IEnumerable`1 steps))

Console output

No response

Version

2.15.4

What Operating System are you using?

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions