huggingface / neuralcoref

✨Fast Coreference Resolution in spaCy with Neural Networks
https://huggingface.co/coref/
MIT License
2.83k stars 474 forks source link

spacy.strings.StringStore size changed, may indicate binary incompatibility #355

Open guochunjiang opened 1 year ago

guochunjiang commented 1 year ago

ValueError: spacy.strings.StringStore size changed, may indicate binary incompatibility. Expected 112 from C header, got 64 from PyObject

i used: pip install -U spacy python -m spacy download en

guochunjiang commented 12 months ago

python= 3.8 spacy=3.6.0 ValueError: spacy.strings.StringStore size changed, may indicate binary incompatibility. Expected 112 from C header, got 64 from PyObject +++++++++++++++++++++++++++++ i used cmd: pip uninstall neuralcoref pip install neuralcoref --no-binary neuralcoref

lemig commented 11 months ago

Same issue. Using conda. Tried Python 3.6 and 3.8. Mac x86.

This did not help as well: pip uninstall neuralcoref pip install neuralcoref --no-binary neuralcoref

lemig commented 11 months ago

I was using spacy 3.6.0. Problem solved downgrading it. Try:

pip install spacy==2.3.9
yuleiqin commented 11 months ago

I was using spacy 3.6.0. Problem solved downgrading it. Try:

pip install spacy==2.3.9

thanks, you save my day

lemig commented 11 months ago

@yuleiqin Switching to https://github.com/shon-otmazgin/fastcoref saved my day in the end.