-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Control-Net; ImportError; Undefined; pydantic; insightface #15564
Comments
neither method 1 or 2 work for me @w-e-w |
as far as I'm aware this is already a fixed issue if you're still experiencing similar issues but most likely is something else or you haven't performed a fixed properly run the command
the post the result I'll also need a list a list of your extensions |
I’m installing from fresh without extensionsGonna try to reinstall python 3.10.9Someone told me it might be comfyui portable installation causing the problem Best, Raf On 1 May 2024, at 14:46, w-e-w ***@***.***> wrote:
neither method 1 or 2 work for me @w-e-w has there been any other progress on this fix?
as far as I'm aware this is already a fixed issue
if you're still experiencing similar issues but most likely is something else or you haven't performed a fixed properly
I'm assuming that it isn't caused by a new issue
run the command
pip freeze
the post the result
I'll also need a list a list of your extensions
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Error
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 a new dependency requirementpydantic required: >=2.6.4
albumentations
is installed byinsightface
which specifiesAny
version ofalbumentations
as such pip install the latest version ofalbumentations==1.4.4
this issue is that
WebUi 1.7~1.9
withGradio==3.41.2
usesfastapi==0.94.0
which requirespydantic 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 method one
downgrading
pydantic
to1.10.15
andalbumentations
to1.4.3
this 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
User Fix method two
Since sd-webui-controlnet has updated a fix to this issue there is an alternative method to solve this issue
--disable-extra-extensions
toCOMMANDLINE_ARGS
in webui-user.bat or webui-user.sh--disable-extra-extensions
fromCOMMANDLINE_ARGS
in webui-user.batRelated issues posts
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 issueThe text was updated successfully, but these errors were encountered: