-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
ImportError: cannot import name 'ValidationInfo' from 'pydantic' #2563
Comments
I have a same problem |
Have you solved it in the end? |
pip uninstall pydantic it works for me |
I found the same error as @jyoung105 and the suggestion of @Victoryship unfortunately did not work for me. My Python version is 3.11.5 (11/09/2023) |
For the sake of precision, this is the full error message I get when I type `ImportError Traceback (most recent call last) File ~\AppData\Roaming\Python\Python311\site-packages\qiskit_ibm_runtime_init_.py:220 File ~\AppData\Roaming\Python\Python311\site-packages\qiskit_ibm_runtime\estimator.py:30 File ~\AppData\Roaming\Python\Python311\site-packages\qiskit_ibm_runtime\options_init_.py:98 File ~\AppData\Roaming\Python\Python311\site-packages\qiskit_ibm_runtime\options\environment_options.py:17 File ~\AppData\Roaming\Python\Python311\site-packages\qiskit_ibm_runtime\options\utils.py:23 ImportError: cannot import name 'ValidationInfo' from 'pydantic' (C:\ProgramData\anaconda3\Lib\site-packages\pydantic_init_.cp311-win_amd64.pyd)` |
pip uninstall albumentations pydantic |
Thanks a lot, @Fl1iz . I had finally solved the issue by typing : |
When I use insightface with pydantic to push on replicate cog, this kind of error starts to appear.
Detail is under.
The text was updated successfully, but these errors were encountered: