spacy - 最新版本的 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。
谢谢
解决方案
推荐阅读
- d3.js - 如何使等值线居中?
- android - 视图仅出现在顶部或根本不出现
- visual-studio-code - 在编辑器中隐藏文件下拉菜单
- r - 如何在字段中只留下字符
- youtube - Youtube 播放器支持片段不再适用于 Android Studio 3.2 (androidx)
- java - org.springframework.http.converter.HttpMessageNotWritableException:没有找到类型的返回值的转换器:类 sun.nio.ch.ChannelInputStream
- r - 用分号分隔符分割数据帧?
- c# - 如何反序列化时间戳本身包含字段的JSON数据?
- joomla - 我可以在不损坏资产表的情况下更改 Joomla 2.5 中类别的权限吗?
- c++ - OpenSSL C API:如何在程序 exec() 后恢复 TLS 连接?