Hi folks, I’m getting this error while i am training my nlu module. in rasa version 1.6 Core model training completed. Training NLU model… Traceback (most recent call last): File “/home/balathevar/.local/lib/python3.6/site-packages/rasa/nlu/registry.py”, line 154, in get_component_class return class_from_module_path(component_name) File “/home/balathevar/.local/lib/python3.6/site-packages/rasa/utils/common.py”, line 195, in class_from_module_path m = importlib.import_module(module_name) File “/usr/lib/python3.6/importlib/init.py”, line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File “”, line 994, in _gcd_import File “”, line 971, in _find_and_load File “”, line 955, in _find_and_load_unlocked File “”, line 665, in _load_unlocked File “”, line 678, in exec_module File “”, line 219, in _call_with_frames_removed File “/home/balathevar/rasa_project78/MSRTEntityExtractor.py”, line 10, in from rasa.constants import DOCS_URL_COMPONENTS ImportError: cannot import name ‘DOCS_URL_COMPONENTS’
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File “/home/balathevar/.local/bin/rasa”, line 8, in sys.exit(main()) File “/home/balathevar/.local/lib/python3.6/site-packages/rasa/main.py”, line 76, in main cmdline_arguments.func(cmdline_arguments) File “/home/balathevar/.local/lib/python3.6/site-packages/rasa/cli/train.py”, line 76, in train kwargs=extract_additional_arguments(args), File “/home/balathevar/.local/lib/python3.6/site-packages/rasa/train.py”, line 46, in train kwargs=kwargs, File “uvloop/loop.pyx”, line 1456, in uvloop.loop.Loop.run_until_complete File “/home/balathevar/.local/lib/python3.6/site-packages/rasa/train.py”, line 97, in train_async kwargs, File “/home/balathevar/.local/lib/python3.6/site-packages/rasa/train.py”, line 184, in _train_async_internal kwargs=kwargs, File “/home/balathevar/.local/lib/python3.6/site-packages/rasa/train.py”, line 241, in _do_training persist_nlu_training_data=persist_nlu_training_data, File “/home/balathevar/.local/lib/python3.6/site-packages/rasa/train.py”, line 470, in _train_nlu_with_validated_data persist_nlu_training_data=persist_nlu_training_data, File “/home/balathevar/.local/lib/python3.6/site-packages/rasa/nlu/train.py”, line 74, in train trainer = Trainer(nlu_config, component_builder) File “/home/balathevar/.local/lib/python3.6/site-packages/rasa/nlu/model.py”, line 144, in init components.validate_requirements(cfg.component_names) File “/home/balathevar/.local/lib/python3.6/site-packages/rasa/nlu/components.py”, line 38, in validate_requirements component_class = registry.get_component_class(component_name) File “/home/balathevar/.local/lib/python3.6/site-packages/rasa/nlu/registry.py”, line 180, in get_component_class raise ModuleNotFoundError(exception_message) ModuleNotFoundError: Failed to find module ‘MSRTEntityExtractor’. cannot import name ‘DOCS_URL_COMPONENTS’