gpt4 book ai didi

python - pip install nlp 找不到匹配的分布

转载 作者:太空宇宙 更新时间:2023-11-04 02:55:23 24 4
gpt4 key购买 nike

我是 Ubuntu 和 Python 的新手,正在练习 Python 的 Spacy 库。我正在关注 this tutorial对于使用 nlp 模块的 Spacy 库。因此,我必须安装它,但是当我使用以下命令时

pip install nlp

然后它给出如下结果:

Collecting nlp
Could not find a version that satisfies the requirement nlp (from versions: )
No matching distribution found for nlp

我搜索了它,但直到现在还没有找到任何解决方案。

最佳答案

你需要使用这个:

import spacy
nlp = spacy.load('en')

关于python - pip install nlp 找不到匹配的分布,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42563420/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com