No module name rasa_core

Hello,

I am using the docker file in the below link.

also i used required python modules and requirements.txt from the same link.

the docker build with docker build -t rasa_core . went fine and image has been built.

However while running docker run, with docker run \ --mount type=bind,source=<PATH_TO_DIALOGUE_MODEL_DIR>,target=/app/dialogue \ --mount type=bind,source=<PATH_TO_NLU_MODEL_DIR>,target=/app/nlu \ rasa_core

I am getting the following error.

docker run --mount type=bind,source=$(pwd)"/models/dialogue,target=/app/dialogue --mount type=bind,source=$(pwd)"/models/nlu/default/periodicnlu,target=/app/nlu rasa_core:latest

/usr/local/bin/python: No module named rasa_core

Could someone please help me to find out the issue and resolve.

run this on your command line.

1- 
pip install rasa_core

2-
docker run --mount type=bind,source=$(pwd)"/models/dialogue,target=/app/dialogue --mount type=bind,source=$(pwd)"/models/nlu/default/periodicnlu,target=/app/nlu rasa_core:latest

Hi Aziz, thanks for response. I already have rasa_core. And the bot working fine in command line. I am getting this issue while docker run.

I see requirements.txt file contains rasa_core_sdk, but not rasa_core. Are those 2 different?? Do i need to add rasa_Core to requirements.txt? Can someone please help?

Can you please create an issue on the rasa core repo?