Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install failed with code 2 #142

Closed
illuculent opened this issue Sep 21, 2023 · 1 comment
Closed

pip install failed with code 2 #142

illuculent opened this issue Sep 21, 2023 · 1 comment

Comments

@illuculent
Copy link

pip install failed with code 2: 'Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu118\r\nCollecting

at StabilityMatrix.Core.Python.PyVenvRunner.PipInstall(String args, Action1 outputDataReceived) at StabilityMatrix.Core.Models.Packages.BasePackage.InstallCudaTorch(PyVenvRunner venvRunner, IProgress1 progress, Action1 onConsoleOutput) at StabilityMatrix.Core.Models.Packages.A3WebUI.InstallPackage(String installLocation, TorchVersion torchVersion, IProgress1 progress, Action1 onConsoleOutput) at StabilityMatrix.Core.Models.Packages.A3WebUI.InstallPackage(String installLocation, TorchVersion torchVersion, IProgress1 progress, Action`1 onConsoleOutput)
at StabilityMatrix.Avalonia.ViewModels.Dialogs.OneClickInstallViewModel.InstallPackage(String installLocation, TorchVersion torchVersion)
at StabilityMatrix.Avalonia.ViewModels.Dialogs.OneClickInstallViewModel.DoInstall()
at StabilityMatrix.Avalonia.ViewModels.Dialogs.OneClickInstallViewModel.Install()
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.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.Start(String[] args)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, ShutdownMode shutdownMode)
at StabilityMatrix.Avalonia.Program.Main(String[] args)

@ionite34
Copy link
Member

Can you try with the latest version v2.4.5? The console should stay open in event of any install errors and you should have the full output.

@ionite34 ionite34 closed this as completed Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants