lllyasviel / lllyasviel/stable-diffusion-webui-forge
Bundled python scripts have hardcoded paths to python.exe
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
The files bundled in `webui_forge_cu124_torch24\system\python\Scripts`
all have the hard-coded path `#!D:\webui-forge\system\python\python.exe`.
This leads to an error when trying to use pip to [install xformers](https://github.com/facebookresearch/xformers/discussions/717).
1. start cmd.exe in `webui_forge_cu124_torch24`
2. run `environment.bat`
3. try to run `pip3.10.exe install xformers-0.0.28.dev893+cu124-cp310-cp310-win_amd64.whl`
```
Fatal error in launcher: Unable to create process using '"D:\webui-forge\system\python\python.exe" "C:\ai\webui_forge_cu124_torch24\system\python\Scripts\pip3.10.exe" ':
```
I could fix it by manually replacing the line `#!D:\webui-forge\system\python\python.exe` with the correct path for my system, but I think this should be addressed if this is the official way to install webui-forge.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the bundled files under webui_forge_cu124_torch24\system\python\Scripts and environment.bat, then reproduce the failure with the documented pip3.10.exe command. Done means pip can install the xformers wheel from a different installation path without manually replacing the embedded python.exe path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 42/100