Skip to content

FATAL ERROR (SEGFAULT): when python embedding #2660

Discussion options

You must be logged in to vote

OK, agreed probably a container or environment issue.

In your first error, I saw this:

DEBUG 3: Initializing MET compile time python instance: /usr/local/bin/python3

And in your last test with 11.0.1, I see this:

File "/usr/local/lib/python3.6/site-packages/xarray/core/common.py", line 229, in getattr
"{!r} object has no attribute {!r}".format(type(self).name, name)

Does that mean when using 12.0.0-beta1 you're also using Python 3.6? If so, I would encourage you to upgrade Python to 3.10.4+ and re-compile MET against it and see if that helps before we go any farther. The current documentation details requirements for Python embedding here:
https://met.readthedocs.io/en/latest/Users_Guid…

Replies: 3 comments 21 replies

Comment options

You must be logged in to vote
13 replies
@Wesley-J-Davis
Comment options

@DanielAdriaansen
Comment options

@Wesley-J-Davis
Comment options

@DanielAdriaansen
Comment options

Answer selected by Wesley-J-Davis
@Wesley-J-Davis
Comment options

@DanielAdriaansen
Comment options

@Wesley-J-Davis
Comment options

@Wesley-J-Davis
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@Wesley-J-Davis
Comment options

@Wesley-J-Davis
Comment options

@DanielAdriaansen
Comment options

@jprestop
Comment options

@DanielAdriaansen
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment