Unable to start action server

Unable to start action server. Getting below mentioned error. Pls help asap.

2021-02-02 14:39:18 INFO rasa_sdk.endpoint - Starting action endpoint server… 2021-02-02 14:39:18 ERROR rasa_sdk.executor - Failed to register package ‘actions’. Traceback (most recent call last): File “c:\users\anaconda3\envs\sabrasa\lib\site-packages\rasa_sdk\executor.py”, line 254, in register_package self._import_submodules(package) File “c:\users\anaconda3\envs\sabrasa\lib\site-packages\rasa_sdk\executor.py”, line 217, in _import_submodules self._import_module(full_name) File “c:\users\anaconda3\envs\sabrasa\lib\site-packages\rasa_sdk\executor.py”, line 231, in import_module module = importlib.import_module(name) File "c:\users\anaconda3\envs\sabrasa\lib\importlib_init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File “”, line 1014, in _gcd_import File “”, line 991, in _find_and_load File “”, line 975, in _find_and_load_unlocked File “”, line 671, in _load_unlocked File “”, line 783, in exec_module File “”, line 219, in _call_with_frames_removed File “C:\RASA\SampleProj\actions\actions.py”, line 6, in from rasa_sdk_events import SlotSet, EventType ModuleNotFoundError: No module named ‘rasa_sdk_events’

Hi! This looks like a typo, it should be rasa_sdk.events Also, please make sure you have rasa_sdk installed :slight_smile:

Thanks !

1 Like