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

Could not install stable-diffusion-webui (StabilityMatrix.Core.Exceptions.ProcessException: Venv creation failed with code 1 #501

Closed
funkinaoki opened this issue Mar 5, 2024 · 4 comments
Labels
stale Stale issue or inactive for long period of time

Comments

@funkinaoki
Copy link

funkinaoki commented Mar 5, 2024

Trying to install Stable Diffusion WebUI from StablityMatrix, but this error "Package Modification Failed" comes out. I could install and use ComfyUI.
Error code:

Unpacking resources
Unpacking resources
Download Complete
C:\Users\my_name\AppData\Local\Temp\0ec8c814-55da-41a5-b69d-fa251c113653_StabilityMatrix-win-x64.zip.653\Data\Assets\Python310\python.exe: No module named virtualenv

Could not install stable-diffusion-webui (StabilityMatrix.Core.Exceptions.ProcessException: Venv creation failed with code 1
   at StabilityMatrix.Core.Python.PyVenvRunner.Setup(Boolean existsOk, Action`1 onConsoleOutput, CancellationToken cancellationToken)
   at StabilityMatrix.Core.Models.Packages.A3WebUI.InstallPackage(String installLocation, TorchVersion torchVersion, SharedFolderMethod selectedSharedFolderMethod, DownloadPackageVersionOptions versionOptions, IProgress`1 progress, Action`1 onConsoleOutput)
   at StabilityMatrix.Core.Models.Packages.A3WebUI.InstallPackage(String installLocation, TorchVersion torchVersion, SharedFolderMethod selectedSharedFolderMethod, DownloadPackageVersionOptions versionOptions, IProgress`1 progress, Action`1 onConsoleOutput)
   at StabilityMatrix.Core.Models.PackageModification.InstallPackageStep.ExecuteAsync(IProgress`1 progress)
   at StabilityMatrix.Core.Models.PackageModification.PackageModificationRunner.ExecuteSteps(IReadOnlyList`1 steps))

image
[Stable Diffusion WebUI Folder]
image
[Stable Diffusion WebUI Folder / venv]
image

  • OS: Windows 10
  • Python(stability matrix): 3.10.11
  • Stability matrix version: 2.9.0
@p-veloso
Copy link

p-veloso commented Mar 5, 2024

I am not sure what the official solution is, but it seems that your Python does not have the virtualenv library, so it is not able to create a custom environment for the package. You can try to install it manually in your command line with pip.

pip install virtualenv

@ratzorizzo69
Copy link

same problem here for v 2.9.0

allwavemedia pushed a commit to allwavemedia/StabilityMatrix that referenced this issue Mar 13, 2024
Improved error messages with process output for 7z extraction errors
Copy link

github-actions bot commented Jul 7, 2024

This issue is stale because it has been open 30 days with no activity. Remove the stale label or comment, else this will be closed in 5 days.

@github-actions github-actions bot added the stale Stale issue or inactive for long period of time label Jul 7, 2024
Copy link

This issue was closed because it has been stale for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Stale issue or inactive for long period of time
Projects
None yet
Development

No branches or pull requests

3 participants