[英]Errors installing spaCy on Python 3
I'm using Ubuntu. 我正在使用Ubuntu。 I installed spacy with
我安装了spacy
sudo pip3 install spacy
However, I tried 但是,我尝试了
sudo python -m spacy.en.download allpython
But I keep getting the error 但我不断收到错误
ConnectionResetError: [Errno 104] Connection reset by peer
Why is this? 为什么是这样?
Try downloading the library via different mirrors 尝试通过不同的镜像下载库
pip install -i https://pypi.python.org/pypi/spacy
or 要么
pip install --use-mirror spacy
EDIT 编辑
Local installation 本地安装
git clone https://github.com/explosion/spaCy
cd spaCy
git checkout --tag your_wanted_tag_here
cd ../
pip install ./spaCy/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.