赞
踩
Solution 1: Installing Visual Studio Express 2015 (https://www.visualstudio.com/vs/visual-studio-express, free but takes 12 GB of space on the hard drive), then run:
- pip install -U spacy
- python -m spacy.en.download
Solution 2: Use Anaconda, in which case there is no need to install Visual Studio Express 2015:
- conda config --add channels conda-forge
- conda install spacy
- python -m spacy.en.download
- python -m spacy download en
-
Solution 3: Download from http://www.lfd.uci.edu/~gohlke/pythonlibs these precompiled Python packages (you may use a more recent version of the packages, but it should end with -cp35-cp35m-win_amd64.whl
, which indicates they are compiled for Python 3.5 64-bit.):
cymem-1.31.2-cp35-cp35m-win_amd64.whl
murmurhash-0.26.4-cp35-cp35m-win_amd64.whl
preshed-1.0.0-cp35-cp35m-win_amd64.whl
thinc-6.5.2-cp35-cp35m-win_amd64.whl
spacy-1.8.2-cp35-cp35m-win_amd64.whl
Then, run from the command prompt:
- pip install cymem-1.31.2-cp35-cp35m-win_amd64.whl
- pip install murmurhash-0.26.4-cp35-cp35m-win_amd64.whl
- pip install preshed-1.0.0-cp35-cp35m-win_amd64.whl
- pip install thinc-6.5.2-cp35-cp35m-win_amd64.whl
- pip install spacy-1.8.2-cp35-cp35m-win_amd64.whl
- python -m spacy.en.download
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。