【发布时间】:2016-12-19 05:14:23
【问题描述】:
我正在使用 Ubuntu。我用
安装了spacysudo pip3 install spacy
不过,我试过了
sudo python -m spacy.en.download allpython
但我不断收到错误
ConnectionResetError: [Errno 104] Connection reset by peer
这是为什么?
【问题讨论】:
我正在使用 Ubuntu。我用
安装了spacysudo pip3 install spacy
不过,我试过了
sudo python -m spacy.en.download allpython
但我不断收到错误
ConnectionResetError: [Errno 104] Connection reset by peer
这是为什么?
【问题讨论】:
尝试通过不同的镜像下载库
pip install -i https://pypi.python.org/pypi/spacy
或
pip install --use-mirror spacy
编辑
本地安装
git clone https://github.com/explosion/spaCy
cd spaCy
git checkout --tag your_wanted_tag_here
cd ../
pip install ./spaCy/
【讨论】:
You must give at least one requirement to install (see "pip help install")。你的第二个给了no such option: --use-mirrors
--use-mirror
no such option: --use-mirror
sudo python -m spacy.en.download all,但仍然得到ConnectionResetError: [Errno 104] Connection reset by peer 错误