Skip to content

Move installed folder of StabilityMatrix and run ComfyUI #1466

Closed

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

Activity

  1. nikolatesla20 commented on Jan 9, 2026

    @nikolatesla20

    I have this same problem after I tried moving my StabilityMatrix to a different drive

  2. softyoda commented on Mar 4, 2026

    @softyoda

    I think it came from venv who hardcode full path of the installation, making migration actually impossible without breaking everything. This is a huge limitation if you ran of disk on your main drive and wish to migrate to another drive, because you could spend again the hours / days of tedious long installation to reinstall it elsewhere just because there are no migration protocol (for custom nodes).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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