lllyasviel / stable-diffusion-webui-forge

GNU Affero General Public License v3.0
8.34k stars 812 forks source link

updated, but error "cannot import name 'RootModel' from 'pydantic" #1281

Open joelhoty opened 2 months ago

joelhoty commented 2 months ago

"I’ve updated the program, and after that, an error occurred as shown below. How can I solve this?"

ImportError: cannot import name 'RootModel' from 'pydantic' (D:\Flux\system\python\lib\site-packages\pydanticinit.cp310-win_amd64.pyd)

kerizane commented 2 months ago

Probably fixed by https://github.com/lllyasviel/stable-diffusion-webui-forge/commit/deca20551ea8d2cf73720afd741363d7962ad844 which was pushed 30 minutes after you raised this issue.