Error couldn't install openclip #17330
-
|
Using cached https://download.pytorch.org/whl/typing_extensions-4.15.0-py3-none-any.whl (44 kB) stderr: ERROR: Exception: what's wrong? and how can i fix it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Fix (fastest method) Go to your Stable Diffusion Python folder and reinstall setuptools. 1. Open Command Prompt Navigate to your Stable Diffusion folder: 2. Activate the Python environment and reinstall tools D:\Stable\system\python\python.exe -m pip install --upgrade pip 3. Then start Stable Diffusion again The installer should now successfully install open_clip. If the error still appears (rare) Run this extra fix: glhf |
Beta Was this translation helpful? Give feedback.
Fix (fastest method)
Go to your Stable Diffusion Python folder and reinstall setuptools.
1. Open Command Prompt
Navigate to your Stable Diffusion folder:
cd D:\Stable\webui
2. Activate the Python environment and reinstall tools
Run these commands one by one:
D:\Stable\system\python\python.exe -m pip install --upgrade pip
D:\Stable\system\python\python.exe -m pip install --upgrade setuptools wheel
3. Then start Stable Diffusion again
Run:
webui-user.bat
The installer should now successfully install open_clip.
If the error still appears (rare)
Run this extra fix:
D:\Stable\system\python\python.exe -m pip install --force-reinstall setuptools
glhf