在 python 中安装 UCI 包时出错
ERROR: Command "python setup.py egg_info" failed with error code 1
我已经尝试过了
pip install uci4c
pip install uci
pip3 install uci
ImportError Traceback (most recent call last)
<ipython-input-5-47b8d2b39557> in <module>()
----> 1 from polyglot.downloader import downloader
c:\users\sarir\appdata\local\programs\python\python35\lib\site-packages\polyglot\downloader.py in <module>()
89
90 from polyglot import polyglot_path
---> 91 from polyglot.detect.langids import isoLangs
92 from polyglot.utils import pretty_list
93 from icu import Locale
c:\users\sarir\appdata\local\programs\python\python35\lib\site-packages\polyglot\detect\__init__.py in <module>()
----> 1 from .base import Detector, Language
2
3 __all__ = ['Detector', 'Language']
c:\users\sarir\appdata\local\programs\python\python35\lib\site-packages\polyglot\detect\base.py in <module>()
9
10
---> 11 from icu import Locale
12 import pycld2 as cld2
13
ImportError: No module named 'icu'