一、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
--------------------------------------------------------------------------------------
!!!import spacy的时候一直报错缺少一个模块,然后加载那个模块后又报错缺少另一个模块。最后。。。
https://blog.csdn.net/github_36326955/article/details/81069807