lllyasviel / lllyasviel/stable-diffusion-webui-forge
[Bug]: Runtime error cannot import Default_Ciphers
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
### 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
- [ ] The issue exists in the current version of the webui
- [ ] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet
### What happened?
Error during first time run
File "C:\webui_forge_cu121_torch21\system\python\lib\site-packages\transformers\utils\import_utils.py", line 1088, in _get_module
raise RuntimeError(
RuntimeError: Failed to import transformers.models.clip.modeling_clip because of the following error (look up to see its traceback):
cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' (C:\webui_forge_cu121_torch21\system\python\lib\site-packages\urllib3\util\ssl_.py)
### Steps to reproduce the problem
install webui folder
run update.bat
run run.bat
get error during run startup
### What should have happened?
start app
### What browsers do you use to access the UI ?
Brave
### Sysinfo
cannot boot to webui
### Console logs
```Shell
File "C:\webui_forge_cu121_torch21\system\python\lib\site-packages\transformers\utils\import_utils.py", line 1088, in _get_module
raise RuntimeError(
RuntimeError: Failed to import transformers.models.clip.modeling_clip because of the following error (look up to see its traceback):
cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' (C:\webui_forge_cu121_torch21\system\python\lib\site-packages\urllib3\util\ssl_.py)
```
### Additional information
GPU is updated
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
Reproduce the clean-install startup path by running update.bat and run.bat, then inspect the traceback through transformers/utils/import_utils.py and the installed urllib3/util/ssl_.py. Determine the dependency incompatibility that prevents transformers.models.clip.modeling_clip from importing; done means the application starts and reaches the web UI.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100