GaoQ1 / rasa_chatbot_cn

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

ModuleNotFoundError: No module named 'bert_serving' #18

Closed SeekPoint closed 5 years ago

SeekPoint commented 5 years ago

(.venv) ub16c9@ub16c9-gpu:~/ub16_prj/rasa_chatbot_cn$ python bot.py train-nlu-gao Using TensorFlow backend. 2019-03-11 15:01:16 INFO rasa_nlu_gao.training_data.loading - Training data format of data/rasa_dataset_training.json is rasa_nlu 2019-03-11 15:01:16 INFO rasa_nlu_gao.training_data.training_data - Training data stats:

Traceback (most recent call last): File "bot.py", line 136, in train_nlu_gao() File "bot.py", line 112, in train_nlu_gao trainer = Trainer(config.load("configs/config_embedding_bilstm.yml")) File "/home/ub16c9/ub16_prj/rasa_chatbot_cn/.venv/lib/python3.6/site-packages/rasa_nlu_gao/model.py", line 152, in init components.validate_requirements(cfg.component_names) File "/home/ub16c9/ub16_prj/rasa_chatbot_cn/.venv/lib/python3.6/site-packages/rasa_nlu_gao/components.py", line 49, in validate_requirements from rasa_nlu_gao import registry File "/home/ub16c9/ub16_prj/rasa_chatbot_cn/.venv/lib/python3.6/site-packages/rasa_nlu_gao/registry.py", line 38, in from rasa_nlu_gao.featurizers.bert_vectors_featurizer import BertVectorsFeaturizer # customize File "/home/ub16c9/ub16_prj/rasa_chatbot_cn/.venv/lib/python3.6/site-packages/rasa_nlu_gao/featurizers/bert_vectors_featurizer.py", line 16, in from bert_serving.client import BertClient ModuleNotFoundError: No module named 'bert_serving' (.venv) ub16c9@ub16c9-gpu:~/ub16_prj/rasa_chatbot_cn$ (.venv) ub16c9@ub16c9-gpu:~/ub16_prj/rasa_chatbot_cn$ (.venv) ub16c9@ub16c9-gpu:~/ub16_prj/rasa_chatbot_cn$

GaoQ1 commented 5 years ago

这个你可以看下rasa对话系统踩坑记(八)