Rasa Core version:0.11.12
Python version: 3.6.3
Operating system (windows, osx, ...):MacOS
Issue:
I'm trying to run python train_online.py. And I get the following Error :
" File "train_online.py", line 8, in
from rasa_core.agent import Agent
ModuleNotFoundError: No module named 'rasa_core'"
Installation from rasa_core was successfully. When I type in "show rasa_core" I get the response:
"Name: rasa-core
Version: 0.11.12
Summary: Machine learning based dialogue engine for conversational software.
Home-page: https://rasa.com
Author: Rasa Technologies GmbH
Author-email: [email protected]
License: Apache 2.0
Location: /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
Requires: slackclient, numpy, scikit-learn, flask-cors, redis, rasa-core-sdk, pytz, python-socketio, terminaltables, six, gevent, pykwalify, apscheduler, mattermostwrapper, rasa-nlu, tqdm, pymongo, twilio, python-telegram-bot, fbmessenger, jsonschema, coloredlogs, pyyaml, flask-jwt-simple, h5py, graphviz, colorclass, keras, pika, ConfigArgParse, python-dateutil, flask, packaging, jsonpickle, requests, rocketchat-API, typing, colorhash, ruamel.yaml, tensorflow, PyInquirer, networkx, future, fakeredis
"
Content of domain file (if used & relevant):
@akelad Can you help?
Thanks for raising this issue, @EPedrotti will get back to you about it soon.
Hi @Olesiatsa ,
similar errors happened to me as well at the beginning. OSx ships with python 2 already installed and when you type python it usually use version 2.7. Did you try to run it with python3 as well?
Hi @EPedrotti,
yes, I run it with python3 as well, and I get the same error
@Olesiatsa are other rasa commands working?
@EPedrotti "rasa-nlu-trainer" is working
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed due to inactivity. Please create a new issue if you need more help.
pip install --ignore-installed rasa_core
This will resolve this issue.
ERROR: tensorflow-cpu 1.15.0 has requirement tensorboard<1.16.0,>=1.15.0, but you'll have tensorboard 1.13.1 which is incompatible.
ERROR: rasa 1.7.4 has requirement cloudpickle~=1.2.0, but you'll have cloudpickle 0.6.1 which is incompatible.
ERROR: rasa 1.7.4 has requirement fbmessenger~=6.0, but you'll have fbmessenger 5.6.0 which is incompatible.
ERROR: rasa 1.7.4 has requirement jsonschema~=3.0, but you'll have jsonschema 2.6.0 which is incompatible.
ERROR: rasa 1.7.4 has requirement matplotlib~=3.0, but you'll have matplotlib 2.2.5 which is incompatible.
ERROR: rasa 1.7.4 has requirement packaging~=19.0, but you'll have packaging 18.0 which is incompatible.
ERROR: rasa 1.7.4 has requirement pika~=1.0.0, but you'll have pika 0.12.0 which is incompatible.
ERROR: rasa 1.7.4 has requirement python-socketio>=4.3.1, but you'll have python-socketio 3.1.2 which is incompatible.
ERROR: rasa 1.7.4 has requirement pytz~=2019.1, but you'll have pytz 2018.9 which is incompatible.
ERROR: rasa 1.7.4 has requirement redis~=3.3.5, but you'll have redis 2.10.6 which is incompatible.
ERROR: rasa-sdk 1.7.0 has requirement ConfigArgParse>=0.14, but you'll have configargparse 0.13.0 which is incompatible.
@guneet999 i think pip installs the correct requirements after showing these errors itself
Most helpful comment
pip install --ignore-installed rasa_core
This will resolve this issue.