Skip to content

Runtime Warning and Kernal dies #202

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

Closed
raj5287 opened this issue Sep 12, 2019 · 2 comments
Closed

Runtime Warning and Kernal dies #202

raj5287 opened this issue Sep 12, 2019 · 2 comments

Comments

@raj5287
Copy link

raj5287 commented Sep 12, 2019

HI
I am getting this runtime warning and the kernal dies after that :

/home/user/anaconda3/envs/py37/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: spacy.tokens.span.Span size changed, may indicate binary incompatibility. Expected 72 from C header, got 80 from PyObject return f(*args, **kwds)

while running in terminal I can see this : Segmentation fault (core dumped) with the above lines
I am usnig spacy 2.1.8 and python 3.7 in jupyter

@raj5287
Copy link
Author

raj5287 commented Sep 12, 2019

the issue is with the latest spacy version i.e. 2.1.8. I have tried with spacy 2.1.0 and it is working fine.

@svlandeg
Copy link
Collaborator

As a workaround for the incompatibility issue, you can indeed either downgrade spaCy to 2.1.0, or build neuralcoref from source if you want to use a more recent version of spaCy.

We plan on keeping the releases of neuralcoref and spaCy more in-sync in the future. Merging this with Issue #197.

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

No branches or pull requests

2 participants