如何修复 spaCy en_training 与当前 spaCy 版本不兼容

How to fix spaCy en_training incompatible with current spaCy version

UserWarning: [W094] Model 'en_training' (0.0.0) specifies an under-constrained spaCy version requirement: >=2.1.4. 
This can lead to compatibility problems with older versions, 
or as new spaCy versions are released, because the model may say it's compatible when it's not. 
Consider changing the "spacy_version" in your meta.json to a version range,
 with a lower and upper pin. For example: >=3.2.1,<3.3.0

spaCy 版本 3.2.1 Python 版本 3.9.7 OSWindow

对于 spacy v2 模型,under-constrained 要求 >=2.1.4 意味着 >=2.1.4,<2.2.0 有效,因此该模型仅适用于 spacy v2.1.x。

无法将 v2 模型转换为 v3。您可以将模型与 v2.1.x 一起使用,也可以使用您的训练数据从头开始重新训练模型。