Rasa NLU starter-pack and starter-pack-rasa-stack-master throwing following error while executing make train-nlu command

sachin@sachin-HP-Pavilion-g4-Notebook-PC:~/starter-pack-rasa-nlu$ make train-nlu python -m rasa_nlu.train -c nlu_config.yml --data data/nlu_data.md -o models --project current --verbose make: *** [train-nlu] Illegal instruction (core dumped) sachin@sachin-HP-Pavilion-g4-Notebook-PC:~/starter-pack-rasa-nlu$


Rasa CORE/NLU Configuration as :

sachin@sachin-HP-Pavilion-g4-Notebook-PC:~$ pip show rasa_core Name: rasa-core Version: 0.12.3 Summary: Machine learning based dialogue engine for conversational software. Home-page: https://rasa.com Author: Rasa Technologies GmbH Author-email: hi@rasa.com License: Apache 2.0 Location: /home/sachin/anaconda3/lib/python3.5/site-packages Requires: redis, pika, ConfigArgParse, pytz, tqdm, networkx, PyInquirer, jsonpickle, rasa-core-sdk, colorhash, numpy, jsonschema, scipy, pymongo, python-socketio, mattermostwrapper, scikit-learn, apscheduler, webexteamssdk, pyyaml, six, fbmessenger, colorclass, terminaltables, typing, pydot, rasa-nlu, pykwalify, future, gevent, rocketchat-API, python-telegram-bot, twilio, flask-jwt-simple, requests, flask-cors, tensorflow, flask, packaging, prompt-toolkit, h5py, coloredlogs, slackclient, fakeredis, ruamel.yaml, python-dateutil Required-by: sachin@sachin-HP-Pavilion-g4-Notebook-PC:~$ sachin@sachin-HP-Pavilion-g4-Notebook-PC:~$ pip show rasa_nlu Name: rasa-nlu Version: 0.13.0 Summary: Rasa NLU a natural language parser for bots Home-page: https://rasa.com Author: Rasa Technologies GmbH Author-email: hi@rasa.com License: Apache 2.0 Location: /home/sachin/anaconda3/lib/python3.5/site-packages Requires: matplotlib, future, numpy, cloudpickle, requests, klein, typing, coloredlogs, simplejson, pyyaml, pathlib, packaging, tqdm, gevent, jsonschema, six, boto3 Required-by: rasa-core sachin@sachin-HP-Pavilion-g4-Notebook-PC:~$ sachin@sachin-HP-Pavilion-g4-Notebook-PC:~$ pip show tensorflow Name: tensorflow Version: 1.10.0 Summary: TensorFlow is an open source machine learning framework for everyone. Home-page: https://www.tensorflow.org/ Author: Google Inc. Author-email: opensource@google.com License: Apache 2.0 Location: /home/sachin/anaconda3/lib/python3.5/site-packages Requires: absl-py, grpcio, astor, termcolor, setuptools, numpy, gast, protobuf, wheel, tensorboard, six Required-by: rasa-core sachin@sachin-HP-Pavilion-g4-Notebook-PC:~$

Hmm, this is usually a memory error or something. Try reinstalling the libraries also maybe

1 Like

Thanks Akelad for the replying… I am getting the same error with different machine too. I think i am doing something wrong when installing the package and also there are cyclic dependencies. So, can you please suggest me what are all package version and python version should i use to learn this awesome tool to build AI assistant? Thanks In advance

the versions you have seem right. and it’s python 3.6 that’s recommended

When running starter pack, I am getting the following error: python -m rasa_nlu.train -c nlu_config.yml --data data/nlu_data.md -o models --fixed_model_name nlu --project current --verbose Traceback (most recent call last): File “C:\Users\101\AppData\Local\programs\Python\Python35\lib\runpy.py”, line 170, in _run_module_as_main “main”, mod_spec) File “C:\Users\101\AppData\Local\programs\Python\Python35\lib\runpy.py”, line 85, in _run_code exec(code, run_globals) File “C:\Users\101\AppData\Local\programs\Python\Python35\lib\site-packages\rasa_nlu\train.py”, line 10, in from typing import Text ImportError: cannot import name 'Text’ make: *** [train-nlu] Error 1