Search code examples
python-3.xmodelspacynamed-entity-recognition

How to fix spaCy en_model incompatible with current spaCy version (2.3.2)?


When I am running my NER model I am getting:

UserWarning: [W031] Model 'en_model' (0.0.0) requires spaCy v2.2 and is incompatible with the current spaCy version (2.3.2)

Please advise how can I fix it?

Python 3.7.9, spaCy 2.3.2, Ubuntu 18.04.


Solution

  • Solved by downgrading spaCy to 2.2.4.

    pip3 install spacy==2.2.4