Rasa_sdk.executor - Failed to register package 'actions'

Hello I have done the same code but i am getting error Like this , i don’t know why, Can you please help me

@Ahmad-Alkhuder share me rasa version whilst activating environment rasa --version?

Annotation 2022-03-03 145017

I am doing the same course from udemy and i really liked that course and i want to finish it but due to version difference i am not able to do it .

@Ahmad-Alkhuder alright, at the time of installing rasa did you miss any compatibilities issue?

No, I don’t think how can i check?

actions.py (1.6 KB)

nlu.yml (3.3 KB) rules.yml (244 Bytes) stories.yml (2.3 KB) config.yml (1.6 KB) credentials.yml (980 Bytes) domain.yml (3.4 KB) endpoints.yml (1.4 KB)

@Ahmad-Alkhuder sorry about late reply, can I request to create the fresh environment for rasa?

OR on current working envionment

pip install rasa==3.0.8 

pip install rasa-sdk==3.0.4

If you not get anything then its good to go, else fix the issues as shown.

i did it but same problem is still showing , Can you please check my project i have sent it to you

even though when i run rasa train it works properly but when i run rasa shell it show like this

Thank you so much for answering us our questions

@Ahmad-Alkhuder if you did, did you find any issue regarding incompatibilities?

@Ahmad-Alkhuder your issue is with the rasa server or the rasa action server? please decide and suggest me. Thanks.

in both i am getting error , i sent you both the screenshot

i’ll run the commands again and send ss

pip install rasa-sdk==3.0.4 pip install rasa==3.0.8 i ran both the command in my current environment and it saying: Requirement already satisfied

I created a new environment but still same error , can you please check the project i have sent you the files

Hi @nik202 I am facing error in the actions.py file while importing the packages below from rasa_sdk import Action, Tracker from rasa_sdk.executor import CollectingDispatcher

and getting this error as -

Collecting package metadata (current_repodata.json): …working… done Solving environment: …working… failed with initial frozen solve. Retrying with flexible solve. Collecting package metadata (repodata.json): …working… done Solving environment: …working… failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  • tracker

Can you please guide on this as I am looking for multiple solutions but could not get any

My versions of Rasa is given below Rasa Version : 2.8.1 Minimum Compatible Version: 2.8.0 Rasa SDK Version : 2.8.1 Rasa X Version : 0.39.3 Python Version : 3.8.10

@Ashika_Shrivastaw8 share action.py file, please. I guess you importing the wrong file or checking the syntax

@Ashika_Shrivastaw8 share the screenshot, please.

Please do share it fast. Thanks.

actions.py (844 Bytes)

here is the attached py file

Maybe check the compatibility-matrix and adjust your Rasa Open Source and Rasa SDK Version to your Rasa X Version or the other way around :thinking: