nltk与spacy的安装

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_35899290/article/details/85281145

一、NLTK安装

win + R  cmd 进入命令行,输入Python,输入:import nltk

执行nltk.download()

双击all 即下载,过程中可能会出现下载失败的问题,只需要重新手动双击未下载成功的identifier即可。

二、安装spacy

Solution1: conda安装(我没用)

在conda命令行中输入如下命令即可安装spacy:

conda config --add channels conda-forge
conda install spacy
python -m spacy.en.download
python -m spacy download en

Solution2:

https://blog.csdn.net/qq_41623768/article/details/81939236

https://blog.csdn.net/cuofucsdn/article/details/78803501

----------------------------------------------------------------------------------------------------------

Python3 中 "Failed building wheel for xxx" 的解决办法

https://blog.csdn.net/qq_39973546/article/details/80148206

----------------------------------------------------------------------------------------------------------------------------

Cannot uninstall 'urllib3'. It is a distutils installed project and thus we cannot accurately determ

https://blog.csdn.net/u013066730/article/details/84326246

----------------------------------------------------------------------------------------------------------------------------------

pip安装:Cannot uninstall https://blog.csdn.net/x_kh_2001/article/details/81146916

猜你喜欢

转载自blog.csdn.net/qq_35899290/article/details/85281145