Import error for icu in Mac and Ubuntu, although pyicu is installed correctly
问题 I have pyicu installed in both MacOS and Ubuntu 14.04 but it shows ImportError upon importing. For MacOS high sierra output is: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/siddharthdas/venvs/chai/lib/python3.6/site-packages/icu/__init__.py", line 37, in <module> from _icu import * ImportError: dlopen(/Users/siddharthdas/venvs/chai/lib/python3.6/site-packages/_icu.cpython-36m-darwin.so, 2): Symbol not found: __ZNK6icu_6114Transliterator12getTargetSetERNS