Lesson3-imdb -> ValueError: spacy.syntax.nn_parser.Parser

Trying to run the lesson3 imdb notebook (unmodified) and with line
data_lm = TextDataBunch.from_csv(path, 'texts.csv')
get error:
ValueError: spacy.syntax.nn_parser.Parser size changed, may indicate binary incompatibility. Expected 72 from C header, got 64 from PyObject

  • Fastai 1.0.51
  • Spacy 2.1.3
  • Conda 4.6.9

EDIT:
1.

conda install -c conda-forge spacy

This updated conda to 4.6.10 but still have the same error

python -m spacy download en_core_web_lg

No help

  1. SOLVED

conda install -c conda-forge spacy=2.1.1

works now

8 Likes