Hi, I am starting with the starter-kit and installed all components and training the rasa-nlu and rasa-core. Rasa-nlu trained fine.
Rasa-core training throws error. Not sure what is the reason.
Please advise. Thanks
Here is the error stack -
ubuntu@ip-172-31-43-72:~/RP/starter-pack-rasa-stack$ make train-core python3 -m rasa_core.train -d domain.yml -s data/stories.md -o models/current/dialogue -c policies.yml Error processing line 1 of /home/ubuntu/.local/lib/python3.5/site-packages/matplotlib-2.2.4-py3.5-nspkg.pth:
Traceback (most recent call last): File “/usr/lib/python3.5/site.py”, line 173, in addpackage exec(line) File “”, line 1, in File “”, line 574, in module_from_spec AttributeError: ‘NoneType’ object has no attribute ‘loader’
Remainder of file ignored Traceback (most recent call last): File “/usr/lib/python3.5/runpy.py”, line 174, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File “/usr/lib/python3.5/runpy.py”, line 109, in _get_module_details import(pkg_name) File “/home/ubuntu/.local/lib/python3.5/site-packages/rasa_core/init.py”, line 5, in from rasa_core.train import train File “/home/ubuntu/.local/lib/python3.5/site-packages/rasa_core/train.py”, line 11, in from rasa_core.domain import TemplateDomain File “/home/ubuntu/.local/lib/python3.5/site-packages/rasa_core/domain.py”, line 12, in from rasa_core.actions import Action, action File “/home/ubuntu/.local/lib/python3.5/site-packages/rasa_core/actions/init.py”, line 1, in from rasa_core.actions.action import Action File “/home/ubuntu/.local/lib/python3.5/site-packages/rasa_core/actions/action.py”, line 9, in from rasa_core import events File “/home/ubuntu/.local/lib/python3.5/site-packages/rasa_core/events/init.py”, line 73, in class Event(object): File “/home/ubuntu/.local/lib/python3.5/site-packages/rasa_core/events/init.py”, line 94, in Event default: Optional[Type[‘Event’]] = None File “/usr/lib/python3.5/typing.py”, line 649, in getitem return Union[arg, type(None)] File “/usr/lib/python3.5/typing.py”, line 552, in getitem dict(self.dict), parameters, _root=True) File “/usr/lib/python3.5/typing.py”, line 512, in new for t2 in all_params - {t1} if not isinstance(t2, TypeVar)): File “/usr/lib/python3.5/typing.py”, line 512, in for t2 in all_params - {t1} if not isinstance(t2, TypeVar)): File “/usr/lib/python3.5/typing.py”, line 1077, in subclasscheck if super().subclasscheck(cls): File “/usr/lib/python3.5/abc.py”, line 225, in subclasscheck for scls in cls.subclasses(): TypeError: descriptor ‘subclasses’ of ‘type’ object needs an argument Makefile:31: recipe for target ‘train-core’ failed make: *** [train-core] Error 1