Open DanilZherebtsov opened 3 years ago
Try to create a virtual env using Python 3.6 (rather than 3.7)
I am having the same issue. I have a conda env with Python 3.6
ImportError: dlopen(/Users/nb315382/miniconda3/envs/nlpenv/lib/python3.6/site-packages/_icu.cpython-36m-darwin.so, 2): Symbol not found: __ZN6icu_5818AnnualTimeZoneRule8MAX_YEARE
macOs 11.5.2
I am having the same issue. I have a conda env with Python 3.6
ImportError: dlopen(/Users/nb315382/miniconda3/envs/nlpenv/lib/python3.6/site-packages/_icu.cpython-36m-darwin.so, 2): Symbol not found: __ZN6icu_5818AnnualTimeZoneRule8MAX_YEARE
macOs 11.5.2
I used this answer and it worked
https://github.com/aboSamoor/polyglot/issues/80#issuecomment-417863726
I can't install either, used pip3 install polygot but got the message:
----> 1 import utKit
2 import cl_utils
3 from printpdf import printpdf
4 from authenticate import authenticate
5 from htmlCleaner import htmlCleaner
ModuleNotFoundError: No module named 'utKit'
@DanilZherebtsov The same problem I have resolved on my mac OS 12.6 Monterey by doing following
I have tried all the documents, forums and stack overflow articles. polyglot installs without any problems I have tried multiple options of installing pyicu (pip, source, through icu4c). In all cases when I try importing
polyglot.text
I get the following error:ImportError: dlopen(/Users/danil/anaconda3/lib/python3.7/site-packages/_icu.cpython-37m-darwin.so, 2): Symbol not found: __ZN6icu_5818AnnualTimeZoneRule8MAX_YEARE
python 3.7.10 macOS 11.6
Could you please advice!