I am facing issue while training rasa core, [object() takes no parameters]

These are the version list I am using ###################### Version list ######################

Numpy version is 1.16.3 Pandas version is 0.22.0 Rasa core version is 0.13.8 Rasa nlu version is 0.14.6 spacy version is 2.0.18

###################### Version list ######################

When I run the command as below in jupyter notebook, I got an error,both command and error as shown below:

!python -m rasa_core.train -d domain.yml -s data/stories.md -o models/current/dialogue -c policies.yml

C:\Users\LSK\Anaconda3\lib\site-packages\h5py_init_.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type. from ._conv import register_converters as _register_converters Traceback (most recent call last): File “C:\Users\LSK\Anaconda3\lib\runpy.py”, line 193, in run_module_as_main “main”, mod_spec) File “C:\Users\LSK\Anaconda3\lib\runpy.py”, line 85, in run_code exec(code, run_globals) File “S:\1 Projects\mlbot\mlbotenv\lib\site-packages\rasa_core\train.py”, line 8, in from rasa_core.agent import Agent File “S:\1 Projects\mlbot\mlbotenv\lib\site-packages\rasa_core\agent.py”, line 17, in from rasa_core.channels import UserMessage, OutputChannel, InputChannel File "S:\1 Projects\mlbot\mlbotenv\lib\site-packages\rasa_core\channels_init.py", line 17, in from rasa_core.channels.console import CmdlineInput # nopep8 File “S:\1 Projects\mlbot\mlbotenv\lib\site-packages\rasa_core\channels\console.py”, line 2, in import questionary File "S:\1 Projects\mlbot\mlbotenv\lib\site-packages\questionary_init.py", line 5, in from questionary.form import Form File “S:\1 Projects\mlbot\mlbotenv\lib\site-packages\questionary\form.py”, line 3, in from questionary.constants import DEFAULT_KBI_MESSAGE File “S:\1 Projects\mlbot\mlbotenv\lib\site-packages\questionary\constants.py”, line 40, in (‘instruction’, ‘’) # user instructions for select, rawselect, checkbox TypeError: object() takes no parameters

Pls suggest the way forward

Did you resolve that? I’m also dealing the same problem.

@Prakash_Raj what versions are you on?

me too facing the same issue

i am using rasa_core = 0.12.4 , rasa_nlu =0.14.6

You most likely have the wrong version of questionary installed. However, the true issue here is that you are working with quite old versions of rasa – I’d recommend upgrading them :slight_smile: