无法在 conda 环境中将 spacy 更新到较新的版本 3

Unable to update spacy to newer version 3 in conda enviroment

我一直在尝试在 conda 环境中将 spacy 更新到新版本。虽然我使用了下面的命令 conda update spacy=3.0 但我还没有成功 和

(base) hadi@notebook:~$ conda install -c conda-forge spacy=3.0
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

我遇到了几乎完全相同的问题,但我在 Julia 中使用 PyCall。

我的解决方案是删除 spacy,干净的 conda,然后手动添加 conda-forge 作为频道,然后重新安装 spacy。

conda remove spacy
conda clean
conda config --add channels conda-forge
conda install spacy

明确添加频道可能是真正解决问题的方法,但我不确定。

谢谢。我得到的答案是 spacy 还没有为 conda 发布版本 3。