-
Hello, I am a new user. I am trying to run an Abaqus model using Spyder. I downloaded the examples, but when I hit the run button in Spyder, I get an error - AttributeError: 'AbaqusCAEConfig' object has no attribute 'model_dump'. I would be grateful if anyone could kindly help. |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 8 replies
-
You may have to upgrade pydantic to version >=2.0: pip install pydantic>=2.0 |
Beta Was this translation helpful? Give feedback.
-
Thank you Hailin, I have just upgraded it, but it still gives me the same error. |
Beta Was this translation helpful? Give feedback.
-
Can you show the pydantic package info using |
Beta Was this translation helpful? Give feedback.
-
Seems that you did not upgrade your pydantic package to version 2.0 above |
Beta Was this translation helpful? Give feedback.
-
Oh, sorry. Do I have to install in cmd? |
Beta Was this translation helpful? Give feedback.
-
Maybe you installed it on a wrong Python interpreter that is not the one you are running the script |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
You will have to upgrade your pydantic to version 2.0 above, pip install pydantic>=2.0 the screenshot shows that you are using version 1.10.8 |
Beta Was this translation helpful? Give feedback.
-
Anyway, I have released a new version |
Beta Was this translation helpful? Give feedback.
-
Try to install the package in cmd instead of the IPython console |
Beta Was this translation helpful? Give feedback.
You may have to upgrade pydantic to version >=2.0:
pip install pydantic>=2.0