"ImportError: Pydantic version conflict causing Stable Diffusion WebUI to fail" #2969
Unanswered
tututututututu2
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm encountering an error when trying to run the Stable Diffusion WebUI in Google Colab. The error seems to be related to a version conflict with Pydantic. Here's the main error message:
text
ImportError: cannot import name 'computed_field' from 'pydantic' (/usr/local/lib/python3.10/dist-packages/pydantic/init.cpython-310-x86_64-linux-gnu.so)
This error is causing a cascade of import failures, ultimately resulting in:
text
RuntimeError: Failed to import transformers.modeling_utils because of the following error (look up to see its traceback):
cannot import name 'computed_field' from 'pydantic' (/usr/local/lib/python3.10/dist-packages/pydantic/init.cpython-310-x86_64-linux-gnu.so)
I've tried downgrading Pydantic to version 1.10.8 as suggested in some discussions, but the issue persists.
Has anyone else encountered this issue recently? Are there any known solutions or workarounds?
Thank you in advance for any help or guidance you can provide.
Beta Was this translation helpful? Give feedback.
All reactions