赞
踩
建议在虚拟环境下安装
以下命令都是在shell环境下执行
# 创建虚拟环境
python -m venv .env_spacy
# 激活虚拟环境
source .env/bin/activate
# 更新pip, setuptools, wheel
pip install -U pip setuptools wheel
# 安装spacy
pip install -U spacy
# 安装 中文训练库
python -m spacy download zh_core_web_sm
# 创建虚拟环境
conda create --name env_spacy
# 激活虚拟环境
conda activate env_spacy
# 安装spacy
conda install -c conda-forge spacy
# 安装 中文训练库
python -m spacy download zh_core_web_sm
spaCy是一个先进且广受欢迎的自然语言处理Python库。github:explosion/spaCy:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。