lllyasviel / Omost

Your image is almost there!
Apache License 2.0
6.69k stars 401 forks source link

Could not install it ERROR: "ImportError: cannot import name 'Undefined' from 'pydantic.fields' " #48

Closed GithubStable closed 3 weeks ago

GithubStable commented 3 weeks ago

Hello, I could not even finish the installation and I got this:

.... from fastapi import params File "C:\Users\FFFF\Desktop\Forge\stable-diffusion-webui-forge\venv\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\FFF\Desktop\Forge\stable-diffusion-webui-forge\venv\lib\site-packages\pydantic\fields.py)

What's wrong?

GithubStable commented 3 weeks ago

This was in forge, my bad.