aboSamoor / polyglot

Multilingual text (NLP) processing toolkit
http://polyglot-nlp.com
Other
2.31k stars 337 forks source link

polyglot download failing #160

Open HariMahesh123 opened 6 years ago

HariMahesh123 commented 6 years ago

Everything seems to be going Ok then when polyglot tries to load embeddings, ner2 and pos2, it fails. Can you/someone please help. This is the command the I use to download these packages - $HOME/anaconda3/envs/py36/bin/polyglot download embeddings2.en ner2.en pos2.en Thanks

$HOME/anaconda3/envs/py36/bin/polyglot download embeddings2.en ner2.en pos2.en Traceback (most recent call last): File "/home/travis/anaconda3/envs/py36/bin/polyglot", line 11, in load_entry_point('polyglot', 'console_scripts', 'polyglot')() File "/home/travis/anaconda3/envs/py36/lib/python3.6/site-packages/pkg_resources/init.py", line 479, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/home/travis/anaconda3/envs/py36/lib/python3.6/site-packages/pkg_resources/init.py", line 2703, in load_entry_point return ep.load() File "/home/travis/anaconda3/envs/py36/lib/python3.6/site-packages/pkg_resources/init.py", line 2321, in load return self.resolve() File "/home/travis/anaconda3/envs/py36/lib/python3.6/site-packages/pkg_resources/init.py", line 2327, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/home/travis/build/Predicta/predicta-spill/src/polyglot/polyglot/main.py", line 16, in from icu import Locale File "/home/travis/anaconda3/envs/py36/lib/python3.6/site-packages/icu/init.py", line 37, in from _icu import * ImportError: /home/travis/anaconda3/envs/py36/lib/libstdc++.so.6: file too short The command "$HOME/anaconda3/envs/py36/bin/polyglot download embeddings2.en ner2.en pos2.en" failed and exited with 1 during .

HariMahesh123 commented 6 years ago

I rant it again and now I get a different error -

----------------------------------------

Command "/home/travis/anaconda3/envs/py36/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-install-mgt771bo/PyICU/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-knnhnyy9/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-mgt771bo/PyICU/ The command "pip install -e "git+git@github.com:aboSamoor/polyglot.git@1e4a01fb67e35a7cab4eaeef1cbe40acb8ea7701#egg=polyglot"" failed and exited with 1 during .

Thanks