#๐Ÿ”’ Rasa initial model training error

9 messages ยท Page 1 of 1 (latest)

opaque summit
#

Traceback (most recent call last):
File "runpy.py", line 197, in _run_module_as_main
return run_code(code, main_globals, None,
File "runpy.py", line 87, in run_code
exec(code, run_globals)
File "rasa.exe", line 7, in <module>
File "rasa_main
.py", line 127, in main
cmdline_arguments.func(cmdline_arguments)
File "rasa\cli\scaffold.py", line 238, in run
init_project(args, path)
File "rasa\cli\scaffold.py", line 132, in init_project
print_train_or_instructions(args)
File "rasa\cli\scaffold.py", line 64, in print_train_or_instructions
training_result = rasa.train(
File "rasa\api.py", line 103, in train
from rasa.model_training import train
File "rasa\model_training.py", line 7, in <module>
import rasa.engine.validation
File "rasa\engine\validation.py", line 33, in <module>
from rasa.engine.constants import RESERVED_PLACEHOLDERS
File "rasa\engine\constants.py", line 3, in <module>
from rasa.core.channels import UserMessage
File "rasa\core\channels_init
.py", line 14, in <module>
from rasa.core.channels.callback import CallbackInput
File "rasa\core\channels\callback.py", line 12, in <module>
from rasa.core.channels.rest import RestInput
File "rasa\core\channels\rest.py", line 8, in <module>
from sanic.response import HTTPResponse, ResponseStream
ImportError: cannot import name 'ResponseStream' from 'sanic.response'

elfin galeBOT
#

@opaque summit

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

opaque summit
#

There is no code this happened while training the initial model (after rasa init)

gray spoke
#

Did you install the requirements from a requirements.txt file?

opaque summit
#

I installed sanic which came with rasa

opaque summit
#

!close

elfin galeBOT
#
Python help channel closed with !close

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.