You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there is an issue with new installation of Control Net breaking WebUI
this is caused by a recent update to Control-Net's Upstream dependency albumentations1.4.4 see history
in
albumentations 1.4.4 they introduce and you dependency requirement
pydantic required: >=2.6.4
albumentations is installed by insightface which specifies Any version of albumentations as such pip install the latest version of 1.4.4
webui 1.9 with Gradio==3.41.2 uses fastapi==0.94.0 which requires]
pydantic required: >=1.7.4,<3.0.0,!=2.0.1,!=2.0.0,!=1.8.1,!=1.8
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently there is an issue with new installation of Control Net breaking WebUI
this is caused by a recent update to Control-Net's Upstream dependency
albumentations
1.4.4 see historyin
albumentations 1.4.4 they introduce and you dependency requirement
albumentations
is installed byinsightface
which specifiesAny
version ofalbumentations
as such pip install the latest version of1.4.4
webui 1.9 with
Gradio==3.41.2
usesfastapi==0.94.0
which requires]pydantic required: >=1.7.4,<3.0.0,!=2.0.1,!=2.0.0,!=1.8.1,!=1.8
as such the Upstream update of
albumentations
causes WebUi to breakAny other extensions that also uses
insightface
will also be affected with the same issueUser Fix
downgrading
pydantic
to1.10.15
andalbumentations
to1.4.3
the can be done by running the following command in the webui's python environment
from the webui root the following commands
if using powershell on windwos
if using cmd on windows
if using linux
source venv/bin/activate pip install albumentations==1.4.3 pip install pydantic==1.10.15
Related issues
Fix PR
fix solution, install
albumentations==1.4.3
beforeinsightface
this way pip won't auto install the newest version
1.4.4
if anyone know of any other extensions that uses
insightface
please inform them about this issueBeta Was this translation helpful? Give feedback.
All reactions