Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ➜ stable_diffusion ./webui.sh
- ################################################################
- Install script for stable-diffusion + Web UI
- Tested on Debian 11 (Bullseye), Fedora 34+ and openSUSE Leap 15.4 or newer.
- ################################################################
- ################################################################
- Running on laurent user
- ################################################################
- ################################################################
- Create and activate python venv
- ################################################################
- ################################################################
- Launching launch.py...
- ################################################################
- glibc version is 2.39
- Check TCMalloc: libtcmalloc_minimal.so.4
- libtcmalloc_minimal.so.4 is linked with libc.so,execute LD_PRELOAD=/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4
- =============================================================================================
- INCOMPATIBLE PYTHON VERSION
- This program is tested with 3.10.6 Python, but you have 3.12.3.
- If you encounter an error with "RuntimeError: Couldn't install torch." message,
- or any other error regarding unsuccessful package (library) installation,
- please downgrade (or upgrade) to the latest version of 3.10 Python
- and delete current Python and "venv" folder in WebUI's directory.
- You can download 3.10 Python from here: https://www.python.org/downloads/release/python-3106/
- Use --skip-python-version-check to suppress this warning.
- =============================================================================================
- Python 3.12.3 (main, Feb 4 2025, 14:48:35) [GCC 13.3.0]
- Version: v1.10.1
- Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
- Installing torch and torchvision
- Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu121
- ERROR: Could not find a version that satisfies the requirement torch==2.1.2 (from versions: 2.2.0, 2.2.0+cu121, 2.2.1, 2.2.1+cu121, 2.2.2, 2.2.2+cu121, 2.3.0, 2.3.0+cu121, 2.3.1, 2.3.1+cu121, 2.4.0, 2.4.0+cu121, 2.4.1, 2.4.1+cu121, 2.5.0, 2.5.0+cu121, 2.5.1, 2.5.1+cu121, 2.6.0)
- ERROR: No matching distribution found for torch==2.1.2
- Traceback (most recent call last):
- File "/home/laurent/Programmes/Programmation/ia/stable_diffusion/stable-diffusion-webui/launch.py", line 48, in <module>
- main()
- File "/home/laurent/Programmes/Programmation/ia/stable_diffusion/stable-diffusion-webui/launch.py", line 39, in main
- prepare_environment()
- File "/home/laurent/Programmes/Programmation/ia/stable_diffusion/stable-diffusion-webui/modules/launch_utils.py", line 381, in prepare_environment
- run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
- File "/home/laurent/Programmes/Programmation/ia/stable_diffusion/stable-diffusion-webui/modules/launch_utils.py", line 116, in run
- raise RuntimeError("\n".join(error_bits))
- RuntimeError: Couldn't install torch.
- Command: "/home/laurent/Programmes/Programmation/ia/stable_diffusion/stable-diffusion-webui/venv/bin/python" -m pip install torch==2.1.2 torchvision==0.16.2 --extra-index-url https://download.pytorch.org/whl/cu121
- Error code: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement