GaoQ1 / rasa_chatbot_cn

building a chinese dialogue system based on the newest version of rasa(基于最新版本rasa搭建的对话系统)
960 stars 290 forks source link

执行make train遇到BertVectorsFeaturizer Unknown component name. #74

Closed java2coffee closed 4 years ago

java2coffee commented 4 years ago

Exception: Failed to find component class for 'rasa_nlu_gao.featurizers.bert_vectors_featurizer.BertVectorsFeaturizer'. Unknown component name.

看到readme里提示设置:export PYTHONPATH=/path/to/your/component 我尝试设置export PYTHONPATH=/Users/jackli/opt/anaconda3/envs/rasa-mobile-env/lib/python3.6/site-packages/rasa_nlu_gao/featurizers 不起作用!

请问如何解决

QinWinner commented 4 years ago

先安装好rasa-nlu-gao 导入的export PYTHONPATH= 这个是demo里面一个comoinent的文件夹 不是这个conda里面这个