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
I can use stable diffusion without any problems. However, whenever I try to install ControlNet, I encounter the error below and can't use the program. I've reinstalled the program from scratch, but it didn't fix the issue. I tried "pip install --upgrade pip" but it didn't work either. Most of the solutions I found online didn't help.
File "C:\Users\AFK\Downloads\sd.webui\system\python\lib\site-packages\fastapi\params.py", line 4, in
from pydantic.fields import FieldInfo, Undefined
ImportError: cannot import name 'Undefined' from 'pydantic.fields' (C:\Users\AFK\Downloads\sd.webui\system\python\lib\site-packages\pydantic\fields.py)
Press any key to continue . . .
The text was updated successfully, but these errors were encountered:
I can use stable diffusion without any problems. However, whenever I try to install ControlNet, I encounter the error below and can't use the program. I've reinstalled the program from scratch, but it didn't fix the issue. I tried "pip install --upgrade pip" but it didn't work either. Most of the solutions I found online didn't help.
File "C:\Users\AFK\Downloads\sd.webui\system\python\lib\site-packages\fastapi\params.py", line 4, in
from pydantic.fields import FieldInfo, Undefined
ImportError: cannot import name 'Undefined' from 'pydantic.fields' (C:\Users\AFK\Downloads\sd.webui\system\python\lib\site-packages\pydantic\fields.py)
Press any key to continue . . .
The text was updated successfully, but these errors were encountered: