Closed ypuzikov closed 7 years ago
@ypuzikov You're right, setuptools and easy_install are needed. Since they're fairly widespread, I think I'll add these to a prerequisites section, and not install them automatically. Does that sounds reasonable?
What's the status after installing them? Did you encounter other errors?
Does that sounds reasonable?
Totally!
What's the status after installing them? Did you encounter other errors?
Yes, I still get the first ImportError message:
ImportError: /home/puzikov@ukp.informatik.tu-darmstadt.de/opt/anaconda2/envs/env_experimental/lib/python2.7/site-packages/spacy/vocab.so: undefined symbol: _ZTINSt8ios_base7failureB5cxx11E
for me ./src/scripts/install_annotator.sh runs smoothly without error messages
testing on Ubuntu 14.04.5 LTS Release: 14.04 Codename: trusty Python 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2] on linux2
Found a solution here: https://github.com/explosion/sense2vec/issues/19
Closing the issue.
Link doesn't work for me. Was that a local problem in your spacy installation?
Sense2vec (also uses spaCy) issue:
TiesdeKok commented on 7 Dec 2016: After a bit of Googling I found the answer, it has to do with the version of libgcc in the Anaconda environment.
The error is solved after running "conda install libgcc" in the anaconda environment.
I tried running ./scripts/install_annotator.sh both with and without "sudo -E" and it did not work -- in both cases I get this:
However, with "sudo -E" before I get the undefined symbol message I get the following ImportError:
The following helped, but should also be mentioned somewhere in README:
OS: x86_64 Ubuntu 16.04.1 LTS (xenial) Kernel: 4.4.0-75-generic