Skip to content

Move installed folder of StabilityMatrix and run ComfyUI #1466

@blazonreal

Description

@blazonreal

Package

ComfyUI

When did the issue occur?

Running the Package

What GPU / hardware type are you using?

4060

What happened?

After install StabilityMatrix in folder (example c:\StabilityMatrix) and rename folder to StabilityMatrix1 (example c:\StabilityMatrix1) Phyton for ComfyUI don't work with error

No Python at '"C:\StabilityMatrix\Data\Assets\Python\cpython-3.12.10-windows-x86_64-none\python.exe'

Because pyvenv.cfg in c:\StabilityMatrix1*Data\Packages\ComfyUI\venv\pyvenv.cfg* have hard link

home = C:\StabilityMatrix\Data\Assets\Python\cpython-3.12.10-windows-x86_64-none
implementation = CPython
uv = 0.8.4
version_info = 3.12.10
base-prefix=C:\StabilityMatrix\Data\Assets\Python\cpython-3.12.10-windows-x86_64-none
include-system-site-packages = false
base-exec-prefix=C:\StabilityMatrix\Data\Assets\Python\cpython-3.12.10-windows-x86_64-none
base-executable=C:\StabilityMatrix\Data\Assets\Python\cpython-3.12.10-windows-x86_64-none\python.exe

Console output

Exception

```ProcessException: pip list failed with code 2: , error: Failed to inspect Python interpreter from provided path at venv\Scripts\python.exe
Caused by: Querying Python at `C:\StabilityMatrix1\Data\Packages\ComfyUI\venv\Scripts\python.exe` failed with exit status exit code: 103

[stderr]
No Python at '"C:\StabilityMatrix\Data\Assets\Python\cpython-3.12.10-windows-x86_64-none\python.exe'

### Sentry ID
[`6999e288`](https://stability-matrix.sentry.io/issues/?query=id%3A6999e288975e4fbcb17004916fb81752&referrer=sm-app-ex&statsPeriod=90d)
### Stack Trace
```   at StabilityMatrix.Core.Python.UvVenvRunner.PipList()
   at StabilityMatrix.Avalonia.ViewModels.Dialogs.PythonPackagesViewModel.Refresh()
   at StabilityMatrix.Avalonia.ViewModels.Dialogs.PythonPackagesViewModel.Refresh()
   at StabilityMatrix.Avalonia.ViewModels.Dialogs.PythonPackagesViewModel.OnLoadedAsync()
   at AsyncAwaitBestPractices.SafeFireAndForgetExtensions.HandleSafeFireAndForget[TException](Task task, Boolean continueOnCapturedContext, Action`1 onException)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Avalonia.Threading.SendOrPostCallbackDispatcherOperation.InvokeCore()
   at Avalonia.Threading.DispatcherOperation.Execute()
   at Avalonia.Threading.Dispatcher.ExecuteJob(DispatcherOperation job)
   at Avalonia.Threading.Dispatcher.ExecuteJobsCore(Boolean fromExplicitBackgroundProcessingCallback)
   at Avalonia.Threading.Dispatcher.Signaled()
   at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
   at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
   at Avalonia.Win32.Win32DispatcherImpl.RunLoop(CancellationToken cancellationToken)
   at Avalonia.Threading.DispatcherFrame.Run(IControlledDispatcherImpl impl)
   at Avalonia.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
   at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.StartCore(String[] args)
   at StabilityMatrix.Avalonia.Program.Main(String[] args)```

### Version

v2.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