stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: Fail to install requirements.txt
Checklist
- [ ] The issue exists after disabling all extensions
- [X] 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
- [X] The issue exists in the current version of the webui
- [X] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet
What happened?
Clone repository, create venv, activate venv.
pip install -r requirements.txt
install fails at building wheel for tokenizers.
Steps to reproduce the problem
Clone repository, create venv, activate venv.
pip install -r requirements.txt
install fails at building wheel for tokenizers.
What should have happened?
Should have installed correctly
What browsers do you use to access the UI ?
Mozilla Firefox
Sysinfo
unable, cannot fully install
Console logs
https://gist.github.com/vvvilife/f5499dfbc8810caec328d9f962305bc9
Additional information
No response
Looks like you're using python 3.12, which isn't supported. Install python 3.10 (both can be installed at once) and set python_cmd="python3.10" in webui-user.sh.
Then delete the venv folder and run ./webui.sh
This worked for Fedora 40.
Should maybe be mentioned in the Readme.
Also a sudo dnf install make automake gcc gcc-c++ kernel-devel was necessary.