ERROR rasa_sdk.executor - Failed to register package 'actions'

Hello Community members, I am trying to deploy a myBot using docker on Nginx and i used rasa/rasa:1.7.0 and rasa/rasa-sdk:1.7.0. but while i build using "docker-compose up --build " command . I got the response as below. 2020-08-18 10:41:47 INFO rasa_sdk.endpoint - Starting action endpoint server… 2020-08-18 10:41:47 ERROR rasa_sdk.executor - Failed to register package ‘actions’. Traceback (most recent call last): File “/app/rasa_sdk/executor.py”, line 206, in register_package self._import_submodules(package) File “/app/rasa_sdk/executor.py”, line 198, in _import_submodules results[full_name] = importlib.import_module(full_name) File “/usr/local/lib/python3.6/importlib/init.py”, line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File “”, line 994, in _gcd_import File “”, line 971, in _find_and_load File “”, line 955, in _find_and_load_unlocked File “”, line 665, in _load_unlocked File “”, line 678, in exec_module File “”, line 219, in _call_with_frames_removed File “/app/actions/actions.py”, line 38, in import matplotlib.image as mpimg ModuleNotFoundError: No module named ‘matplotlib’ rasa-server | 2020-08-18 10:41:52 INFO root - Starting Rasa server on http://localhost:5005. my docker-compose.yml is as below version: ‘3.1’ services: rasa: container_name: rasa-server image: rasa/rasa:1.7.0 #image: rasa/rasa:latest ports: - 5005:5005 volumes: - ./:/app command: - run - --cors - “*” - --enable-api - --log-file - out.log depends_on: - action-server

action-server: container_name: rasa-action-server #image: rasa/rasa_core_sdk:latest image: rasa/rasa-sdk:1.7.0 volumes: - ./actions:/app/actions ports: - “5055:5055” command: - start - --actions - actions

nginx: image: ‘docker.io/bitnami/nginx:1.19-debian-10’ ports: - ‘8080:8080’ volumes: - ./ui:/app

please correct me where i am making mistake. why my custom action is not running from User interface. though my bot is functioning correctly while i run it without docker container. I mean through command prompt .

Hey @AKVerma

Sorry, it’s not really clear what you’re trying to archive, could you please elaborate on that?