No module named ‘rasa.nlu.components

I am facing the exact issue with the Rasa module ‘rasa.nlu.components’. Specifically, I am receiving the error message “ModuleNotFoundError: No module named ‘rasa.nlu.components’”. I have tried different versions of Python and Rasa, but the issue still persists. Any help would be appriciated.

Here are the system details:

  • Rasa Version: 3.5.4
  • Minimum Compatible Version: 3.5.0
  • Rasa SDK Version: 3.5.0
  • Python Version: 3.7.2
  • Operating System: Linux-5.19.0-38-generic-x86_64-with-debian-bookworm-sid
  • Python Path: /home/ubuntuadmin/anaconda3/envs/RASA/bin/python

I have attempted to install ‘rasa-nlu’ separately, but encountered package compatibility errors. However, based on my understanding, a separate package isn’t necessary.