crownpku / Rasa_NLU_Chi

Turn Chinese natural language into structured data 中文自然语言理解
Apache License 2.0
1.51k stars 422 forks source link

我win7,python3.5,安装mitle一直不成功,谁有step by step的方法? #39

Open kevinsay opened 6 years ago

kevinsay commented 6 years ago
**Rasa NLU version** (e.g. `0.11.3`): **Used backend / pipeline** ("nlp_mitie", "tokenizer_jieba", "ner_mitie", "ner_synonyms", "intent_entity_featurizer_regex", "intent_featurizer_mitie", "intent_classifier_sklearn", ...): **Operating system** (windows,: **Issue**: File "", line 222, in _call_with_frames_removed File "C:\Python35\lib\mitie\__init__.py", line 1, in from .mitie import * File "C:\Python35\lib\mitie\mitie.py", line 36, in _f = ctypes.CDLL(most_recent) File "C:\Python35\lib\ctypes\__init__.py", line 351, in __init__ self._handle = _dlopen(self._name, mode) OSError: [WinError 126] 找不到指定的模块。 **Content of configuration file** (if used & relevant): ```json ```
HwarLee commented 6 years ago

我在Ubuntu上执行如下命令是OK的(win7 上应该也类似吧): pip install git+https://github.com/mit-nlp/MITIE.git

BobCN2017 commented 6 years ago

git clone https://github.com/mit-nlp/MITIE.git 然后进入clone后目录,执行: python setup.py install 我是win10 python2.7的环境,这样搞定的

zymprogramer commented 6 years ago

我是win7 python3,6, 我下载了mitie的github项目,然后直接在源码地址内运行python setup.py install. 值得注意的是得下载CMake,并加入到path