我知道spaCy这东西不是OI,但是洛谷毕竟人才济济,想来定有大佬可以帮助
所以……事情是这样的:
先是下载了一个Python 3.8和Pip 20.1,然后就兴冲冲的按照这里的指示往指令行里输了几行:
pip install -U spacy
pip install -U spacy-lookups-data
python -m spacy download en_core_web_sm
输完第一行之后……
ERROR: Command errored out with exit status 1:
Complete output (117 lines):
Collecting setuptools
Using cached setuptools-46.1.3-py3-none-any.whl (582 kB)
Collecting wheel
Using cached wheel-0.34.2-py2.py3-none-any.whl (26 kB)
Collecting cython>=0.25
Using cached Cython-0.29.17-cp38-cp38-win32.whl (1.6 MB)
Collecting cymem<2.1.0,>=2.0.2
Using cached cymem-2.0.3.tar.gz (51 kB)
Collecting preshed<3.1.0,>=3.0.2
Using cached preshed-3.0.2.tar.gz (167 kB)
Collecting murmurhash<1.1.0,>=0.28.0
Using cached murmurhash-1.0.2.tar.gz (35 kB)
Collecting thinc==7.4.0
Using cached thinc-7.4.0.tar.gz (1.3 MB)
ERROR: Command errored out with exit status 1:
之前尝试通过Anaconda的Conda Prompt安装虽然成功,但是打开PyCharm一看,根本没法import spacy,让人智熄……
求大佬帮助qwq,小白在此先谢过了