Hello, I am fairly new to Rasa and am trying to setup version 1.5 on a Jetson Nano. I have successfully installed Rasa 1.5, but upon running ‘rasa init’ I receive the following:
"Welcome to Rasa!
To get started quickly, an initial project will be created.
If you need some help, check out the documentation at Introduction to Rasa Open Source.
Now let’s start!
? Please enter a path where the project will be created [default: current directory] . ? Directory ‘/home/samsat2/rasa_testing/rasat’ is not empty. Continue? Yes Created project directory at ‘/home/samsat2/rasa_testing/rasat’. Finished creating project structure. Training an initial model… Training Core model… Traceback (most recent call last): File “/home/samsat2/.local/lib/python3.6/site-packages/rasa/core/registry.py”, line 21, in policy_from_module_path module_path, lookup_path=“rasa.core.policies.registry” File “/home/samsat2/.local/lib/python3.6/site-packages/rasa/utils/common.py”, line 190, in class_from_module_path m = importlib.import_module(lookup_path) File “/usr/lib/python3.6/importlib/init.py”, line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File “”, line 994, in _gcd_import File “”, line 971, in _find_and_load File “”, line 955, in _find_and_load_unlocked File “”, line 665, in _load_unlocked File “”, line 678, in exec_module File “”, line 219, in _call_with_frames_removed File “/home/samsat2/.local/lib/python3.6/site-packages/rasa/core/policies/registry.py”, line 5, in from rasa.core.policies.embedding_policy import EmbeddingPolicy File “/home/samsat2/.local/lib/python3.6/site-packages/rasa/core/policies/embedding_policy.py”, line 22, in from rasa.utils import train_utils File “/home/samsat2/.local/lib/python3.6/site-packages/rasa/utils/train_utils.py”, line 9, in from tensor2tensor.models.transformer import ( File “/home/samsat2/.local/lib/python3.6/site-packages/tensor2tensor/models/init.py”, line 36, in from tensor2tensor.models import mtf_transformer2 File “/home/samsat2/.local/lib/python3.6/site-packages/tensor2tensor/models/mtf_transformer2.py”, line 23, in from mesh_tensorflow.transformer import moe File “/home/samsat2/.local/lib/python3.6/site-packages/mesh_tensorflow/transformer/init.py”, line 23, in import mesh_tensorflow.transformer.dataset File “/home/samsat2/.local/lib/python3.6/site-packages/mesh_tensorflow/transformer/dataset.py”, line 94, in import tensorflow_datasets as tfds File “/home/samsat2/.local/lib/python3.6/site-packages/tensorflow_datasets/init.py”, line 43, in from tensorflow_datasets.core import tf_compat File “/home/samsat2/.local/lib/python3.6/site-packages/tensorflow_datasets/core/init.py”, line 22, in tf_compat.ensure_tf_install() File “/home/samsat2/.local/lib/python3.6/site-packages/tensorflow_datasets/core/tf_compat.py”, line 63, in ensure_tf_install "This version of TensorFlow Datasets requires TensorFlow " ImportError: This version of TensorFlow Datasets requires TensorFlow version >= 2.1.0; Detected an installation of version 1.15.4. Please upgrade TensorFlow to proceed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File “/home/samsat2/.local/lib/python3.6/site-packages/rasa/core/policies/ensemble.py”, line 318, in from_dict constr_func = registry.policy_from_module_path(policy_name) File “/home/samsat2/.local/lib/python3.6/site-packages/rasa/core/registry.py”, line 24, in policy_from_module_path raise ImportError(f"Cannot retrieve policy from path ‘{module_path}’") ImportError: Cannot retrieve policy from path ‘MemoizationPolicy’
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File “/home/samsat2/.local/bin/rasa”, line 8, in sys.exit(main()) File “/home/samsat2/.local/lib/python3.6/site-packages/rasa/main.py”, line 76, in main cmdline_arguments.func(cmdline_arguments) File “/home/samsat2/.local/lib/python3.6/site-packages/rasa/cli/scaffold.py”, line 195, in run init_project(args, path) File “/home/samsat2/.local/lib/python3.6/site-packages/rasa/cli/scaffold.py”, line 113, in init_project print_train_or_instructions(args, path) File “/home/samsat2/.local/lib/python3.6/site-packages/rasa/cli/scaffold.py”, line 50, in print_train_or_instructions args.model = rasa.train(domain, config, training_files, output) File “/home/samsat2/.local/lib/python3.6/site-packages/rasa/train.py”, line 46, in train kwargs=kwargs, File “uvloop/loop.pyx”, line 1456, in uvloop.loop.Loop.run_until_complete File “/home/samsat2/.local/lib/python3.6/site-packages/rasa/train.py”, line 97, in train_async kwargs, File “/home/samsat2/.local/lib/python3.6/site-packages/rasa/train.py”, line 182, in _train_async_internal kwargs=kwargs, File “/home/samsat2/.local/lib/python3.6/site-packages/rasa/train.py”, line 217, in _do_training kwargs=kwargs, File “/home/samsat2/.local/lib/python3.6/site-packages/rasa/train.py”, line 354, in _train_core_with_validated_data kwargs=kwargs, File “/home/samsat2/.local/lib/python3.6/site-packages/rasa/core/train.py”, line 43, in train policies = config.load(policy_config) File “/home/samsat2/.local/lib/python3.6/site-packages/rasa/core/config.py”, line 28, in load return PolicyEnsemble.from_dict(config_data) File “/home/samsat2/.local/lib/python3.6/site-packages/rasa/core/policies/ensemble.py”, line 326, in from_dict “”.format(policy_name) rasa.core.policies.ensemble.InvalidPolicyConfig: Module for policy ‘MemoizationPolicy’ could not be loaded. Please make sure the name is a valid policy."
Does anyone know what could be causing this issue? I’m using Tensorflow1.15.4+nv20.12 and python 3.6, so I’m not too sure what’s causing this issue.