Error when running custom action: "ModuleNotFoundError: No module named 'rasa_sdk'"

@mx06148391 Ok. Sorted,

Step 1: Create a new environment, and install rasa 3.0.5 using the command: pip install rasa==3.0.5

Step 2: Check rasa --version

Step 3: It will show you "ImportError: cannot import name ‘CompositionView’ from ‘sanic.views’ error

Install pip install sanic==21.9.3 --use-feature=2020-resolver

Step 4: Check rasa --version

Step 5: install rasa init

Step 6: Run 'rasa run actions`

Note:

In VS code Problems (2) it will still show the issue of rasa_sdk but it will run the actions

everything worked fine when I started all over using Anaconda. thank you for your help.

@mx06148391 Finally!! Please close this thread as the solution and good luck!