Hi @JulianGerhard, first time user of rasa, thanks for your work!
I tried to installed rasa on raspberry pi 3, had some problems, but managed to installed rasa1.2.9, python3.7 on Linux raspberrypi 5.4.72-v7+.
When I tried to run “rasa init” then communicate on cmdline, I got a lot of deprecated messages. Not sure where to go from here. Any suggestions would be appreciated. Below are the messages.
Now let’s start! 
? Please enter a path where the project will be created [default: current direct
ory] .
? Directory ‘/home/pi/project_hello’ is not empty. Continue? Yes
Created project directory at ‘/home/pi/project_hello’.
Finished creating project structure.
Training an initial model…
Nothing changed. You can use the old model stored at ‘/home/pi/project_hello/models/20201118-092711.tar.gz’.
? Do you want to speak to the trained assistant on the command line?
No
Ok
. If you want to speak to the assistant, run ‘rasa shell’ at any time inside the project directory.
(venv) pi@raspberrypi:~/project_hello $ rasa shell
/home/pi/venv/lib/python3.7/site-packages/tensorflow_core/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.
_np_qint8 = np.dtype([(“qint8”, np.int8, 1)])
/home/pi/venv/lib/python3.7/site-packages/tensorflow_core/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.
_np_quint8 = np.dtype([(“quint8”, np.uint8, 1)])
/home/pi/venv/lib/python3.7/site-packages/tensorflow_core/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.
_np_qint16 = np.dtype([(“qint16”, np.int16, 1)])
/home/pi/venv/lib/python3.7/site-packages/tensorflow_core/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.
_np_quint16 = np.dtype([(“quint16”, np.uint16, 1)])
/home/pi/venv/lib/python3.7/site-packages/tensorflow_core/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.
_np_qint32 = np.dtype([(“qint32”, np.int32, 1)])
/home/pi/venv/lib/python3.7/site-packages/tensorflow_core/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.
np_resource = np.dtype([(“resource”, np.ubyte, 1)])
/home/pi/venv/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.
_np_qint8 = np.dtype([(“qint8”, np.int8, 1)])
/home/pi/venv/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.
_np_quint8 = np.dtype([(“quint8”, np.uint8, 1)])
/home/pi/venv/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.
_np_qint16 = np.dtype([(“qint16”, np.int16, 1)])
/home/pi/venv/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.
_np_quint16 = np.dtype([(“quint16”, np.uint16, 1)])
/home/pi/venv/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.
_np_qint32 = np.dtype([(“qint32”, np.int32, 1)])
/home/pi/venv/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.
np_resource = np.dtype([(“resource”, np.ubyte, 1)])
WARNING:tensorflow:From /home/pi/venv/lib/python3.7/site-packages/tensorflow/init.py:98: The name tf.AUTO_REUSE is deprecated. Please use tf.compat.v1.AUTO_REUSE instead.
WARNING:tensorflow:From /home/pi/venv/lib/python3.7/site-packages/tensorflow/init.py:98: The name tf.AttrValue is deprecated. Please use tf.compat.v1.AttrValue instead.
WARNING:tensorflow:From /home/pi/venv/lib/python3.7/site-packages/tensorflow/init.py:98: The name tf.COMPILER_VERSION is deprecated. Please use tf.version.COMPILER_VERSION instead.
WARNING:tensorflow:From /home/pi/venv/lib/python3.7/site-packages/tensorflow/init.py:98: The name tf.CXX11_ABI_FLAG is deprecated. Please use tf.sysconfig.CXX11_ABI_FLAG instead.
WARNING:tensorflow:From /home/pi/venv/lib/python3.7/site-packages/tensorflow/init.py:98: The name tf.ConditionalAccumulator is deprecated. Please use tf.compat.v1.ConditionalAccumulator instead.
2020-11-18 09:46:05 INFO root - Connecting to channel ‘cmdline’ which was specified by the ‘–connector’ argument. Any other channels will be ignored. To connect to all given channels, omit the ‘–connector’ argument.
2020-11-18 09:46:05 INFO root - Starting Rasa server on http://localhost:5005
2020-11-18 09:46:14 ERROR rasa.core.agent - Could not load model due to ‘str’ object has no attribute ‘decode’.
Bot loaded. Type a message and press enter (use ‘/stop’ to exit):
2020-11-18 09:46:15 ERROR asyncio - Task exception was never retrieved
future: <Task finished coro=<configure_app..run_cmdline_io() done, defined at /home/pi/venv/lib/python3.7/site-packages/rasa/core/run.py:122> exception=RuntimeError(‘this event loop is already running.’)>
Traceback (most recent call last):
File “/home/pi/venv/lib/python3.7/site-packages/rasa/core/run.py”, line 126, in run_cmdline_io
server_url=constants.DEFAULT_SERVER_FORMAT.format(“http”, port)
File “/home/pi/venv/lib/python3.7/site-packages/rasa/core/channels/console.py”, line 129, in record_messages
text = get_user_input(button_question)
File “/home/pi/venv/lib/python3.7/site-packages/rasa/core/channels/console.py”, line 77, in get_user_input
style=Style([(“qmark”, “#b373d6”), ("", “#b373d6”)]),
File “/home/pi/venv/lib/python3.7/site-packages/questionary/question.py”, line 50, in ask
return self.unsafe_ask(patch_stdout)
File “/home/pi/venv/lib/python3.7/site-packages/questionary/question.py”, line 64, in unsafe_ask
return self.application.run()
File “/home/pi/venv/lib/python3.7/site-packages/prompt_toolkit/application/application.py”, line 817, in run
self.run_async(pre_run=pre_run, set_exception_handler=set_exception_handler)
File “uvloop/loop.pyx”, line 1450, in uvloop.loop.Loop.run_until_complete
File “uvloop/loop.pyx”, line 1443, in uvloop.loop.Loop.run_until_complete
File “uvloop/loop.pyx”, line 1351, in uvloop.loop.Loop.run_forever
File “uvloop/loop.pyx”, line 480, in uvloop.loop.Loop._run
RuntimeError: this event loop is already running.
Your input → Experienced exception while trying to serve
Traceback (most recent call last):
File “/home/pi/venv/lib/python3.7/site-packages/sanic/app.py”, line 1096, in run
serve(**server_settings)
File “/home/pi/venv/lib/python3.7/site-packages/sanic/server.py”, line 742, in serve
trigger_events(before_start, loop)
File “/home/pi/venv/lib/python3.7/site-packages/sanic/server.py”, line 604, in trigger_events
loop.run_until_complete(result)
File “uvloop/loop.pyx”, line 1456, in uvloop.loop.Loop.run_until_complete
File “/home/pi/venv/lib/python3.7/site-packages/rasa/core/run.py”, line 233, in load_agent_on_start
action_endpoint=endpoints.action,
File “/home/pi/venv/lib/python3.7/site-packages/rasa/core/agent.py”, line 264, in load_agent
remote_storage=remote_storage,
File “/home/pi/venv/lib/python3.7/site-packages/rasa/core/agent.py”, line 924, in load_local_model
remote_storage=remote_storage,
File “/home/pi/venv/lib/python3.7/site-packages/rasa/core/agent.py”, line 380, in load
ensemble = PolicyEnsemble.load(core_model) if core_model else None
File “/home/pi/venv/lib/python3.7/site-packages/rasa/core/policies/ensemble.py”, line 232, in load
policy = policy_cls.load(policy_path)
File “/home/pi/venv/lib/python3.7/site-packages/rasa/core/policies/keras_policy.py”, line 320, in load
model = load_model(model_file)
File “/home/pi/venv/lib/python3.7/site-packages/tensorflow_core/python/keras/saving/save.py”, line 137, in load_model
File “/home/pi/venv/lib/python3.7/site-packages/tensorflow_core/python/keras/saving/hdf5_format.py”, line 160, in load_model_from_hdf5
model_config = json.loads(model_config.decode(‘utf-8’))
AttributeError: ‘str’ object has no attribute ‘decode’
Traceback (most recent call last):
File “/home/pi/venv/bin/rasa”, line 8, in
sys.exit(main())
File “/home/pi/venv/lib/python3.7/site-packages/rasa/main.py”, line 76, in main
cmdline_arguments.func(cmdline_arguments)
File “/home/pi/venv/lib/python3.7/site-packages/rasa/cli/shell.py”, line 101, in shell
rasa.cli.run.run(args)
File “/home/pi/venv/lib/python3.7/site-packages/rasa/cli/run.py”, line 119, in run
rasa.run(**vars(args))
File “/home/pi/venv/lib/python3.7/site-packages/rasa/run.py”, line 55, in run
**kwargs
File “/home/pi/venv/lib/python3.7/site-packages/rasa/core/run.py”, line 194, in serve_application
app.run(host=“0.0.0.0”, port=port, ssl=ssl_context)
File “/home/pi/venv/lib/python3.7/site-packages/sanic/app.py”, line 1096, in run
serve(**server_settings)
File “/home/pi/venv/lib/python3.7/site-packages/sanic/server.py”, line 742, in serve
trigger_events(before_start, loop)
File “/home/pi/venv/lib/python3.7/site-packages/sanic/server.py”, line 604, in trigger_events
loop.run_until_complete(result)
File “uvloop/loop.pyx”, line 1456, in uvloop.loop.Loop.run_until_complete
File “/home/pi/venv/lib/python3.7/site-packages/rasa/core/run.py”, line 233, in load_agent_on_start
action_endpoint=endpoints.action,
File “/home/pi/venv/lib/python3.7/site-packages/rasa/core/agent.py”, line 264, in load_agent
remote_storage=remote_storage,
File “/home/pi/venv/lib/python3.7/site-packages/rasa/core/agent.py”, line 924, in load_local_model
remote_storage=remote_storage,
File “/home/pi/venv/lib/python3.7/site-packages/rasa/core/agent.py”, line 380, in load
ensemble = PolicyEnsemble.load(core_model) if core_model else None
File “/home/pi/venv/lib/python3.7/site-packages/rasa/core/policies/ensemble.py”, line 232, in load
policy = policy_cls.load(policy_path)
File “/home/pi/venv/lib/python3.7/site-packages/rasa/core/policies/keras_policy.py”, line 320, in load
model = load_model(model_file)
File “/home/pi/venv/lib/python3.7/site-packages/tensorflow_core/python/keras/saving/save.py”, line 137, in load_model
return hdf5_format.load_model_from_hdf5(filepath, custom_objects, compile)
File “/home/pi/venv/lib/python3.7/site-packages/tensorflow_core/python/keras/saving/hdf5_format.py”, line 160, in load_model_from_hdf5
model_config = json.loads(model_config.decode(‘utf-8’))
AttributeError: ‘str’ object has no attribute ‘decode’
sys:1: RuntimeWarning: coroutine ‘Loop.create_server’ was never awaited