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

Runtime warnings on import #289

Closed
networks1 opened this issue Nov 18, 2020 · 1 comment
Closed

Runtime warnings on import #289

networks1 opened this issue Nov 18, 2020 · 1 comment

Comments

@networks1
Copy link

Hi. Trying to run the example code from spaCy universe. Getting the following runtime warnings when importing:

>>> import neuralcoref
                                                                                           
<frozen importlib._bootstrap>:219: RuntimeWarning: spacy.morphology.Morphology size changed, may indicate binary incompatibility. Expected 104 from C header, got 112 from PyObject   
                                                  
<frozen importlib._bootstrap>:219: RuntimeWarning: spacy.vocab.Vocab size changed, may indicate binary incompatibility. Expected 96 from C header, got 112 from PyObject    
                                                            
<frozen importlib._bootstrap>:219: RuntimeWarning: spacy.tokens.span.Span size changed, may indicate binary incompatibility. Expected 72 from C header, got 80 from PyObject

This is a fresh install of spaCy and neuralcoref (python3 on WSL, in case that matters).

Not sure if it's related to the above, but also got a segmentation fault after

nlp = spacy.load('en')

neuralcoref.add_to_pipe(nlp)

doc1 = nlp('My sister has a dog. She loves him.')
@svlandeg
Copy link
Collaborator

Hi! Please see Issue #197 for installation instructions with a recent spaCy version!

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