Error when running rasa x command on Windows 10 (EOFError: Ran out of input)

Hi, I’ve successfully install rasa and rasa x with python version 3.7.7 but I become an Error when I run the command rasa x

Can please somebody help me?

Traceback (most recent call last):
      File "c:\users\username\work\itq-chat-bot\venv\lib\site-packages\rasa\cli\x.py", line 431, in run_locally
    args, project_path, args.data, token=rasa_x_token, config_path=config_path
      File "c:\users\username\work\itq-chat-bot\venv\lib\site-packages\rasax\community\local.py", line 186, in main
    app = rasa_x_server.configure_app()
      File "c:\users\username\work\itq-chat-bot\venv\lib\site-packages\rasax\community\api\app.py", line 206, in configure_app
    app.blueprint(interface.blueprint())
      File "c:\users\username\work\itq-chat-bot\venv\lib\site-packages\rasax\community\api\blueprints\interface.py", line 119, in blueprint
    interface_directory = locate_interface()
      File "c:\users\username\work\itq-chat-bot\venv\lib\site-packages\rasax\community\api\blueprints\interface.py", line 104, in locate_interface
    return build_interface()
      File "c:\users\username\work\itq-chat-bot\venv\lib\site-packages\rasax\community\api\blueprints\interface.py", line 80, in build_interface
    p.start()
      File "C:\Users\username\AppData\Local\Programs\Python\Python37\lib\multiprocessing\process.py", line 112, in start
    self._popen = self._Popen(self)
      File "C:\Users\username\AppData\Local\Programs\Python\Python37\lib\multiprocessing\context.py", line 223, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
      File "C:\Users\username\AppData\Local\Programs\Python\Python37\lib\multiprocessing\context.py", line 322, in _Popen
    return Popen(process_obj)
      File "C:\Users\username\AppData\Local\Programs\Python\Python37\lib\multiprocessing\popen_spawn_win32.py", line 89, in __init__
    reduction.dump(process_obj, to_child)
      File "C:\Users\username\AppData\Local\Programs\Python\Python37\lib\multiprocessing\reduction.py", line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
    AttributeError: Can't pickle local object 'build_interface.<locals>.run_build'

    Sorry, something went wrong (see error above). Make sure to start Rasa X with valid data and valid domain and config files. Please, also check any warnings that popped up.
    If you need help fixing the issue visit our forum: http://forum.rasa.com/.
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\username\AppData\Local\Programs\Python\Python37\lib\multiprocessing\spawn.py", line 105, in spawn_main
    exitcode = _main(fd)
      File "C:\Users\username\AppData\Local\Programs\Python\Python37\lib\multiprocessing\spawn.py", line 115, in _main
    self = reduction.pickle.load(from_parent)
    EOFError: Ran out of input

Are you running this in a directory with a valid set of files for a rasa assistant? What version of rasa/rasa x did you install and how did you install them?

I am facing same problem. rasa shell is working but rasa x not working

I am also facing same problem. Please provide some solution.

1 Like

To run Rasa X on Windows 10, it is recommended to use docker.

See the Rasa X documentation on Docker Compose Manual Install