Errors installing spaCy on Python 3

669 views Asked by At

I'm using Ubuntu. I installed spacy with

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?

1

There are 1 answers

5
Mike JS Choi On

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/