Open salman-jpg opened 7 years ago
looks like you're missing libicu-dev . On ubuntu/debian you can install it:
sudo apt-get update
sudo apt-get install libicu-dev
I have already tried this one. Just to make sure I uninstalled polyglot and installed it again. Still, the problem persists.
Here is the full error message:
`--------------------------------------------------------------------------- ImportError Traceback (most recent call last)
I am having the same problem (only on python 3.6). Any solutions?
File "
Same error here in Anaconda Python 3.6.
Bump. This issue still persists on Python 3.6.1
Is there any resolution for this issue? I'm trying on virtualenv with python 2.7.12, and I'm getting the same error.
After many fiddling, I found that system ICU libs are not compatible with Anaconda's libs. The only setup that worked for me was Python 3.5, not in Anaconda!
Thanks @usptact for your input, I also found that it works with python 3.5 on Ubuntu. Hope this issue is fixed for python 2.
Please fix this.
On Python 3.6, Ubuntu 16.04, I could make it work with
conda install icu
conda install -c conda-forge pyicu
pip install pycld2
and then installing polyglot from source worked like a charm.
On Python 3.6, Ubuntu 16.04, I could make it work with
conda install icu
conda install -c conda-forge pyicu
pip install pycld2
and then installing polyglot from source worked like a charm.
This works for me for Python 3.7, SLES SP14. Thanks!
Cannot run the examples on Jupyter notebooks.
ImportError: /home/usr/anaconda2/lib/python2.7/site-packages/_icu.so: undefined symbol: _ZTIN6icu_5514LEFontInstanceE