question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pip installation spacy

See original GitHub issue

Ubuntu16 Python 2.7 I tried install spacy by pip .

pip install spacy && python -m spacy.en.download

but got error huffman.so: undefined symbol: _ZSt24__throw_out_of_range_fmtPKc

log of output

Requirement already satisfied: spacy in /home/vshebuniayeu/anaconda2/lib/python2.7/site-packages Requirement already satisfied: thinc<6.3.0,>=6.2.0 in /home/vshebuniayeu/anaconda2/lib/python2.7/site-packages (from spacy) Requirement already satisfied: six in /home/vshebuniayeu/anaconda2/lib/python2.7/site-packages (from spacy) Requirement already satisfied: murmurhash<0.27,>=0.26 in /home/vshebuniayeu/anaconda2/lib/python2.7/site-packages (from spacy) Requirement already satisfied: ujson>=1.35 in /home/vshebuniayeu/anaconda2/lib/python2.7/site-packages (from spacy) Requirement already satisfied: sputnik<0.10.0,>=0.9.2 in /home/vshebuniayeu/anaconda2/lib/python2.7/site-packages (from spacy) Requirement already satisfied: cloudpickle in /home/vshebuniayeu/anaconda2/lib/python2.7/site-packages (from spacy) Requirement already satisfied: pathlib in /home/vshebuniayeu/anaconda2/lib/python2.7/site-packages (from spacy) Requirement already satisfied: numpy>=1.7 in /home/vshebuniayeu/anaconda2/lib/python2.7/site-packages (from spacy) Requirement already satisfied: preshed<0.47.0,>=0.46.0 in /home/vshebuniayeu/anaconda2/lib/python2.7/site-packages (from spacy) Requirement already satisfied: plac in /home/vshebuniayeu/anaconda2/lib/python2.7/site-packages (from spacy) Requirement already satisfied: cymem<1.32,>=1.30 in /home/vshebuniayeu/anaconda2/lib/python2.7/site-packages (from spacy) Requirement already satisfied: cytoolz<0.9,>=0.8 in /home/vshebuniayeu/anaconda2/lib/python2.7/site-packages (from thinc<6.3.0,>=6.2.0->spacy) Requirement already satisfied: tqdm<5.0.0,>=4.10.0 in /home/vshebuniayeu/anaconda2/lib/python2.7/site-packages (from thinc<6.3.0,>=6.2.0->spacy) Requirement already satisfied: flexmock in /home/vshebuniayeu/anaconda2/lib/python2.7/site-packages (from thinc<6.3.0,>=6.2.0->spacy) Requirement already satisfied: semver in /home/vshebuniayeu/anaconda2/lib/python2.7/site-packages (from sputnik<0.10.0,>=0.9.2->spacy) /home/vshebuniayeu/anaconda2/bin/python: /home/vshebuniayeu/anaconda2/lib/python2.7/site-packages/spacy/serialize/huffman.so: undefined symbol: _ZSt24__throw_out_of_range_fmtPKcz

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
gbonnardcommented, Jun 13, 2017

Hi vladimircape,

I have the exact similar issue. what conda additional packages did you install?

Thanks a lot.

Gaël

1reaction
vladimircapecommented, Feb 13, 2017

fixed by setting the same version for gcc and g++, and install additional modules for conda

Read more comments on GitHub >

github_iconTop Results From Across the Web

Install spaCy · spaCy Usage Documentation
spaCy is a free open-source library for Natural Language Processing in Python. It features NER, POS tagging, dependency parsing, word vectors and more....
Read more >
spacy - PyPI
Trained pipelines for spaCy can be installed as Python packages. This means that they're a component of your application, just like any other...
Read more >
How to install spaCy in Python | bobbyhadz
To install the `spaCy` module on Windows, type CMD in the search bar and open the Command Prompt application, type `pip install spacy`...
Read more >
1. Installing SpaCy - Named Entity Recognition
SpaCy is a Python library for advanced natural language processing. We will be using SpaCy within the Python script we create to save...
Read more >
Installing spaCy | Mastering spaCy - Packt Subscription
pip is the most painless choice as it installs all the dependencies, so let's start with it. Installing spaCy with pip. You can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found