Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Ubuntu。我安装了 spacy
sudo 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/