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

[Bug]: "No pyvenv.cfg file" when running launcher #14363

Open
2 of 6 tasks
jm1996117 opened this issue Dec 18, 2023 · 0 comments
Open
2 of 6 tasks

[Bug]: "No pyvenv.cfg file" when running launcher #14363

jm1996117 opened this issue Dec 18, 2023 · 0 comments
Labels
asking-for-help-with-local-system-issues This issue is asking for help related to local system; please offer assistance bug-report Report of a bug, yet to be confirmed

Comments

@jm1996117
Copy link

Checklist

  • The issue exists after disabling all extensions
  • The issue exists on a clean installation of webui
  • The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • The issue exists in the current version of the webui
  • The issue has not been reported before recently
  • The issue has been reported before but has not been fixed yet

What happened?

Clicking "launch webui" works as usual until the command
venv "C:\Users\Jack\Downloads\stable-diffusion-webui\venv\Scripts\Python.exe" at which point the window says "No pyvenv.cfg file Press any key to continue . . . "

Steps to reproduce the problem

Start a1111,
click "launch webui"

What should have happened?

Web ui should have launched

What browsers do you use to access the UI ?

Other

Sysinfo

no sysinfo file was generated. it didn't take the arguement.

Console logs

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Loading A111 WebUI Launcher
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 i   Settings file found, loading
 →   Updating Settings File  ✓
 i   Launcher Version 1.7.0
 i   Found a custom WebUI Config
 i   No Launcher launch options
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 →   Checking requirements :
 i   Python 3.10.6150.1013 found in registry:  C:\Users\Jack\AppData\Local\Programs\Python\Python310\
 i   Clearing PATH of any mention of Python
 →   Adding python 3.10 to path  ✓
 i   Git found and already in PATH:  C:\Program Files\Git\cmd\git.exe
 i   Automatic1111 SD WebUI found:  C:\Users\Jack\Downloads\stable-diffusion-webui
 i   One or more checkpoint models were found
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Loading Complete, opening launcher
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 i   Arguments are now: --xformers --vae-path 'C:\Users\Jack\Downloads\stable-diffusion-webui\models\VAE\vae-ft-mse-840000-ema-pruned.safetensors' --dump-sysinfo
 i   Enable Xformers updated to False
 →   Updating Settings File  ✓
 i   Arguments are now: --vae-path 'C:\Users\Jack\Downloads\stable-diffusion-webui\models\VAE\vae-ft-mse-840000-ema-pruned.safetensors' --dump-sysinfo
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Webui
 ✓   Done
 i   There is no extension in the extensions folder
 i   Arguments are now: --vae-path 'C:\Users\Jack\Downloads\stable-diffusion-webui\models\VAE\vae-ft-mse-840000-ema-pruned.safetensors' --dump-sysinfo
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  WEBUI LAUNCHING VIA EMS LAUNCHER, EXIT THIS WINDOW TO STOP THE WEBUI
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 !   Any error happening after 'commit hash : XXXX' is not related to the launcher. Please report them on Automatic1111's github instead :
 ☁   https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/new/choose
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Cancel
venv "C:\Users\Jack\Downloads\stable-diffusion-webui\venv\Scripts\Python.exe"
No pyvenv.cfg file
Press any key to continue . . .

Additional information

Python was reinstalled, and so was automatic 1111. Deleting the VENV folder did nothing

@jm1996117 jm1996117 added the bug-report Report of a bug, yet to be confirmed label Dec 18, 2023
@w-e-w w-e-w added the asking-for-help-with-local-system-issues This issue is asking for help related to local system; please offer assistance label Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
asking-for-help-with-local-system-issues This issue is asking for help related to local system; please offer assistance bug-report Report of a bug, yet to be confirmed
Projects
None yet
Development

No branches or pull requests

2 participants