Just to add further update. I stumbled on this article [Rasa Assistant Docker Compose] (GitHub - cskujawa/rasa-assistant) and modified my Docker Compose file and encountered the same error.
Iβm not quite proficient in rasa but Iβll tell you what I think.
The error seems to be related to the missing package when you run container inside of docker. As far as I can see (I might be wrong) rasa.core is a part of rasa not rasa_sdk.
Iβm not sure how to resolve the issue though but maybe you need to install dependencies while building the containers.
In your original post you say that thereβs no Dockerfile for actions, but in your modified docker-compose it looks like thereβs a Dockerfile for action server.
Could you maybe share the contents of your Dockerfiles?
Thanks for the reply @xxxwarrior . This is the action-server dockerfile
# Extend the official Rasa SDK image
FROM rasa/rasa-sdk:3.3.0
# Change back to root user to install dependencies
USER root
# To install packages from PyPI
RUN pip install --no-cache-dir requests
# Switch back to non-root to run code
USER $user
Iβm not sure how to resolve your issue, for the sake of testing I would maybe try to install rasa package like you install requests there and see if it changes anything.