Skip to content
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

AttributeError: 'AbaqusCAEConfig' object has no attribute 'model_dump' #5389

Closed
haiiliin opened this issue Nov 23, 2023 Discussed in #5387 · 1 comment · Fixed by #5388
Closed

AttributeError: 'AbaqusCAEConfig' object has no attribute 'model_dump' #5389

haiiliin opened this issue Nov 23, 2023 Discussed in #5387 · 1 comment · Fixed by #5388

Comments

@haiiliin
Copy link
Owner

Discussed in #5387

Originally posted by ahashib November 23, 2023
12  Github-upload

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.

@haiiliin
Copy link
Owner Author

abqpy 20**.6.1 introduced a change that is not compatible with pydantic v1 (#5330) that caused this issue, please upgrade your pydantic to v2 if you are using this version:

pip install pydantic>=2.0

Or upgrade abqpy to version 20**.6.2 that fixes this issue:

pip install -U abqpy

@haiiliin haiiliin pinned this issue Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant