Checklist
What happened?
When starting launch.py, the installation process fails at the "Installing clip" stage. The root cause is a ModuleNotFoundError: No module named 'pkg_resources' during the metadata generation for the CLIP package. This occurs because recent versions of pip (v26.0.1) and setuptools (v80+) have deprecated or removed pkg_resources, but the CLIP installer still relies on it during the build process?
Steps to reproduce the problem
1.Perform a clean installation of the lshqqytiger/stable-diffusion-webui-amdgpu repository.
2.Run webui-user.bat.
3.The script creates a venv, updates pip to 26.0.1 , and successfully installs torch/rocm.
4. The process fails immediately when trying to install CLIP from the GitHub link.
What should have happened?
Install WebUI
What browsers do you use to access the UI ?
Google Chrome
Sysinfo
The file could not be generated due to installation failure. Full environment logs provided below
https://pastebin.com/gu2wTycn
Console logs
https://pastebin.com/MLHWhKTC
Additional information
The issue persists across multiple Python versions (tested 3.11.9 and 3.12.10). It appears to be a compatibility issue between the hardcoded CLIP installation command and the latest pip environment which lacks pkg_resources by default during build isolation.
My PС
CPU: AMD Ryzen 5 8400F
GPU: AMD Radeon RX 9070 XT
RAM: 32 GB
OS: Windows 11 Pro, Version 25H2 (Build 26200.7705)
Python Versions Tested: 3.11.9 and 3.12.10
Checklist
What happened?
When starting launch.py, the installation process fails at the "Installing clip" stage. The root cause is a ModuleNotFoundError: No module named 'pkg_resources' during the metadata generation for the CLIP package. This occurs because recent versions of pip (v26.0.1) and setuptools (v80+) have deprecated or removed pkg_resources, but the CLIP installer still relies on it during the build process?
Steps to reproduce the problem
1.Perform a clean installation of the lshqqytiger/stable-diffusion-webui-amdgpu repository.
2.Run webui-user.bat.
3.The script creates a venv, updates pip to 26.0.1 , and successfully installs torch/rocm.
4. The process fails immediately when trying to install CLIP from the GitHub link.
What should have happened?
Install WebUI
What browsers do you use to access the UI ?
Google Chrome
Sysinfo
The file could not be generated due to installation failure. Full environment logs provided below
https://pastebin.com/gu2wTycn
Console logs
Additional information
The issue persists across multiple Python versions (tested 3.11.9 and 3.12.10). It appears to be a compatibility issue between the hardcoded CLIP installation command and the latest pip environment which lacks pkg_resources by default during build isolation.
My PС
CPU: AMD Ryzen 5 8400F
GPU: AMD Radeon RX 9070 XT
RAM: 32 GB
OS: Windows 11 Pro, Version 25H2 (Build 26200.7705)
Python Versions Tested: 3.11.9 and 3.12.10