首页 > 解决方案 > 最新版本的 spacy-lefff 与最新版本的 spacy 不兼容

问题描述

安装 spacy-lefff v. 0.3.3 使得无法运行带有模块 Spacy (v. 2.1.1) 的 Python 程序

根本问题似乎是模块thinc 和cymem。我试图卸载 Thinc 和 cymem,但我不知道要重新安装哪个版本的 Thinc 和 cymem。

https://github.com/sammous/spacy-lefff上没有任何问题的迹象

有迹象表明“spacy-lefff 需要 spacy <= v2.0.12”。

我试图降级到 spacy v. 2.0.12,但由于模块 Thinc 和 cymem,我的代码无法正常工作。

操作系统:Win 10 Python 版本:3.7-2 使用的 Spacy 版本:2.1.1 使用的 Lefff 版本:0.3.3。

谢谢

标签: spacy

解决方案


推荐阅读