Closed gadisridhar closed 5 years ago
@gadisridhar it looks like something went wrong with your installation, because rasa_nlu doesn't seem to be installed properly. How did you install it?
@akelad Thank u for the response. I have installed rasa_nlu using - pip install rasa_nlu. this installed Rasa version - 015.0 currently i am using rasa-nlu - 0.15.0, python - 3.5.4.
Can you check what pip show rasa_nlu
prints? And while you are at it, please also check pip show rasa
and pip show rasa_core
Thanks @tmbo for your reply. details for
pip show rasa_nlu Name: rasa-nlu Version: 0.14.4 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: d:\vinci3\vinci\mlengine\venv1\lib\site-packages Requires: future, gevent, typing, tqdm, numpy, klein, simplejson, requests, boto3, matplotlib, six, ruamel.yaml, jsonschema, cloudpickle, scikit-learn, packaging, coloredlogs Required-by: rasa-core
Name: rasa-core Version: 0.14.4 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: d:\vinci3\vinci\mlengine\venv1\lib\site-packages Requires: gevent, fakeredis, slackclient, scipy, fbmessenger, pydot, pymongo, flask-jwt-simple, mattermostwrapper, scikit-learn, python-telegram-bot, tensorflow, tqdm, numpy, rocketchat- API, webexteamssdk, rasa-nlu, colorclass, flask, python-socketio, questionary, jsonpickle, python-dateutil, redis, ruamel.yaml, packaging, pytz, twilio, requests, jsonschema, typing, col orhash, networkx, coloredlogs, pika, terminaltables, pykwalify, rasa-core-sdk, flask-cors, apscheduler Required-by:
This looks perfectly fine. What does python -c "import rasa_nlu; print rasa.nlu.__version__"
say?
Which command are you running to train a model? It looks a lot like you are running that with the wrong python interpreter in the wrong environment (basically in an env where rasa_nlu is not installed).
I encountered this same issue today. After two hour struggling, I even wrote a long comment here before I realised my mistake. The root cause of my problem was I named my own file as rasa_nlu.py. When I changed my file to another name, it worked fine.
I encountered this same issue today. After two hour struggling, I even wrote a long comment here before I realised my mistake. The root cause of my problem was I named my own file as rasa_nlu.py. When I changed my file to another name, it worked fine.
Could you believe that I made the same mistake and spent two hours searching until I reached your comment. Thanks.