Rasa X installed but rasa x command not working

I’m trying to open the rasa x interface using rasa x, however when i run this command on my server it returns the error:
MissingDependencyException: Rasa X does not seem to be installed, but it is needed for this CLI command. You can find more information on how to install Rasa X in local mode in the documentation: https://rasa.com/docs/rasa-x/installation-and-setup/install/local-mode
I have installed Rasa X by following the Docker Compose Installation guide on: Docker Compose Installation using the provided installation script.
I think the root of the issue might be that rasa doesn’t recognise that rasa x is installed because when I do rasa --version I get:

Rasa Version      :         2.5.0
Minimum Compatible Version: 2.2.0a1
Rasa SDK Version  :         2.5.0
Rasa X Version    :         None
Python Version    :         3.8.16
Operating System  :         Linux-5.15.0-71-generic-x86_64-with-glibc2.17
Python Path       :         /home/fruasvaz/anaconda3/envs/rasaenv/bin/python

Could it be that I am missing some extra step in the setup to make sure rasa recognizes the rasa x installation?

Rasa version installed: 2.5.0
Rasa X version installed 0.39.0

Hello, It seems that you have installed Rasa X successfully, but the rasa x command is not recognized by the system. This issue commonly occurs when there is a mismatch between the versions of Rasa and Rasa X.

To resolve this problem, you should ensure that you have the compatible versions of Rasa and Rasa X. In your case, Rasa X version 0.39.0 requires Rasa version 2.6.0 or higher. However, your current Rasa version is 2.5.0, which is below the minimum compatible version required by Rasa X.

To fix this, you have a few options:

Upgrade Rasa: Update your Rasa installation to the latest version by running the following command:

pip install --upgrade rasa This will upgrade Rasa to the latest version available on PyPI. After the upgrade, you should be able to use the rasa x command.

Specify compatible versions: If you want to stick with Rasa version 2.5.0, you can install a compatible version of Rasa X. For example, you can install Rasa X version 0.39.0 by running the following command: pip install rasa-x==0.39.0 --extra-index-url Simple Index This will install the specific version of Rasa X that is compatible with your Rasa installation.

Remember to activate your virtual environment if you’re using one before running the above commands.

After upgrading or installing the compatible versions, you should be able to use the rasa x command without encountering the “MissingDependencyException” error.

I hope this helps you.