aboSamoor / polyglot

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

Cannot run polyglot with anaconda42 #90

Closed yallapragada closed 7 years ago

yallapragada commented 7 years ago

I continue to get this error with anaconda42 (on Redhat 6.8) when I try to launch polyglot from command line.

Import error in docs.py: from _icu import * ImportError: /home/anaconda42/bin/python3.5/site-packages/_icu.cpython-35m-x86_64-linux-gnu.so: undefined symbol: _ZNK7icu_4_214LEFontInstance10getSubFontEPKtPiiiR11LEErrorCode.

This issue has been reported previously. I would be very interested to know if anyone is able to figure out a way to run polyglot with recent versions of anaconda.

yallapragada commented 7 years ago

I was able to successfully run polyglot with a conda python 3.4 environment. This is an issue with pycld2 module - read this issue for more details.