After using the method suggested by you, I am getting the following error:
TypeError Traceback (most recent call last)
in ()
----> 1 import rasa
2
3 model_path = rasa.train(domain, config, [training_files], output)
5 frames
/usr/local/lib/python3.6/dist-packages/rasa/init.py in ()
6 version = rasa.version.version
7
----> 8 from rasa.run import run
9 from rasa.train import train
10 from rasa.test import test
/usr/local/lib/python3.6/dist-packages/rasa/run.py in ()
6
7 from rasa.constants import DOCS_BASE_URL
----> 8 from rasa.cli.utils import minimal_kwargs, print_warning, print_error
9 from rasa.model import get_model
10
/usr/local/lib/python3.6/dist-packages/rasa/cli/utils.py in ()
3 from typing import Any, Callable, Dict, Optional, Text, List
4 import logging
----> 5 from questionary import Question
6
7 from rasa.constants import DEFAULT_MODELS_PATH
/usr/local/lib/python3.6/dist-packages/questionary/init.py in ()
3
4 import questionary.version
----> 5 from questionary.form import Form
6 from questionary.form import form
7 from questionary.prompt import prompt
/usr/local/lib/python3.6/dist-packages/questionary/form.py in ()
1 from collections import namedtuple
2
----> 3 from questionary.constants import DEFAULT_KBI_MESSAGE
4 from questionary.question import Question
5
/usr/local/lib/python3.6/dist-packages/questionary/constants.py in ()
38 (‘selected’, ‘’), # style for a selected item of a checkbox
39 (‘separator’, ‘’), # separator in lists
—> 40 (‘instruction’, ‘’) # user instructions for select, rawselect, checkbox
41 ])
TypeError: object() takes no parameters
Please help me out.