Rasa data extraction from excel sheets

Hello everyone , hope your doing great . I had devloped an action to extract data from an excel file using the openpyxl module and bring the data into rasa. But there is a problem which is that whenever i try to run this action it causes problems like the error mentioned here :

2021-08-23 22:33:59 INFO rasa_sdk.endpoint - Starting action endpoint server… 2021-08-23 22:33:59 ERROR rasa_sdk.executor - Failed to register package ‘actions’. Traceback (most recent call last): File “C:\Users\Syed Mohammed Bilal\anaconda3\envs\rasa_install_demo\lib\site-packages\rasa_sdk\executor.py”, line 262, in register_package self._import_submodules(package) File “C:\Users\Syed Mohammed Bilal\anaconda3\envs\rasa_install_demo\lib\site-packages\rasa_sdk\executor.py”, line 225, in _import_submodules self._import_module(full_name) File “C:\Users\Syed Mohammed Bilal\anaconda3\envs\rasa_install_demo\lib\site-packages\rasa_sdk\executor.py”, line 239, in import_module module = importlib.import_module(name) File "C:\Users\Syed Mohammed Bilal\anaconda3\envs\rasa_install_demo\lib\importlib_init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File “”, line 1014, in _gcd_import File “”, line 991, in _find_and_load File “”, line 975, in _find_and_load_unlocked File “”, line 671, in _load_unlocked File “”, line 783, in exec_module File “”, line 219, in _call_with_frames_removed File “C:\Users\Syed Mohammed Bilal\anaconda3\envs\rasa_install_demo\chatbot\actions\actions.py”, line 11, in from openpyxl import Workbook , load_workbook ModuleNotFoundError: No module named ‘openpyxl’ This error appeared when i typed rasa run actions on a different anaconda prompt rather than on the one through which i was talking to my bot. Can someone help me solve this error? Thanks

Make sure you installed the module in the same virtual environment as Rasa

@SyedBilalHasan install pip install openpyxl in your conda virtual environment for actions.py file.