I have the similar problem, with the 0.13.0
python3 -m rasa_core.train -d domain.yml -o models/dialogue/ -s data/stories -c config.yaml
Traceback (most recent call last):
File "/opt/python/Python-3.5.2/lib/python3.5/runpy.py", line 184, in _run_module_as_main
"__main__", mod_spec)
File "/opt/python/Python-3.5.2/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/opt/python/Python-3.5.2/lib/python3.5/site-packages/rasa_core/train.py", line 6, in <module>
from rasa_core import config, cli
File "/opt/python/Python-3.5.2/lib/python3.5/site-packages/rasa_core/config.py", line 6, in <module>
from rasa_core.policies import PolicyEnsemble
File "/opt/python/Python-3.5.2/lib/python3.5/site-packages/rasa_core/policies/__init__.py", line 1, in <module>
from rasa_core.policies.policy import Policy
File "/opt/python/Python-3.5.2/lib/python3.5/site-packages/rasa_core/policies/policy.py", line 7, in <module>
from rasa_core.domain import Domain
File "/opt/python/Python-3.5.2/lib/python3.5/site-packages/rasa_core/domain.py", line 11, in <module>
from rasa_core.actions import Action, action
File "/opt/python/Python-3.5.2/lib/python3.5/site-packages/rasa_core/actions/__init__.py", line 1, in <module>
from rasa_core.actions.action import Action
File "/opt/python/Python-3.5.2/lib/python3.5/site-packages/rasa_core/actions/action.py", line 9, in <module>
from rasa_core import events
File "/opt/python/Python-3.5.2/lib/python3.5/site-packages/rasa_core/events/__init__.py", line 72, in <module>
class Event(object):
File "/opt/python/Python-3.5.2/lib/python3.5/site-packages/rasa_core/events/__init__.py", line 93, in Event
default: Optional[Type['Event']] = None
File "/opt/python/Python-3.5.2/lib/python3.5/typing.py", line 649, in __getitem__
return Union[arg, type(None)]
File "/opt/python/Python-3.5.2/lib/python3.5/typing.py", line 552, in __getitem__
dict(self.__dict__), parameters, _root=True)
File "/opt/python/Python-3.5.2/lib/python3.5/typing.py", line 512, in __new__
for t2 in all_params - {t1} if not isinstance(t2, TypeVar)):
File "/opt/python/Python-3.5.2/lib/python3.5/typing.py", line 512, in <genexpr>
for t2 in all_params - {t1} if not isinstance(t2, TypeVar)):
File "/opt/python/Python-3.5.2/lib/python3.5/typing.py", line 1077, in __subclasscheck__
if super().__subclasscheck__(cls):
File "/opt/python/Python-3.5.2/lib/python3.5/abc.py", line 225, in __subclasscheck__
for scls in cls.__subclasses__():
TypeError: descriptor '__subclasses__' of 'type' object needs an argument