Traceback (most recent call last):



 "<ipython-input-3-c74e2bd4ca71>", line 1, in <module>

import keras



 "/Users/User/anaconda/lib/python3.6/site-packages/keras/__init__.py", line 3, in <module>

from . import utils



 "/Users/User/anaconda/lib/python3.6/site-packages/keras/utils/__init__.py", line 6, in <module>

from . import conv_utils



 "/Users/User/anaconda/lib/python3.6/site-packages/keras/utils/conv_utils.py", line 9, in <module>

from .. import backend as K



 "/Users/User/anaconda/lib/python3.6/site-packages/keras/backend/__init__.py", line 83, in <module>

from .tensorflow_backend import *



 "/Users/User/anaconda/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py", line 5, in <module>

import tensorflow as tf

ModuleNotFoundError: No module named 'tensorflow'

Traceback (most recent call last):


 "/usr/local/bin/rasa", line 11, in <module>

sys.exit(main())


 "/usr/local/lib/python3.6/dist-packages/rasa/__main__.py", line 70, in main

cmdline_arguments.func(cmdline_arguments)


 "/usr/local/lib/python3.6/dist-packages/rasa/cli/scaffold.py", line 194, in run

init_project(args, path)


 "/usr/local/lib/python3.6/dist-packages/rasa/cli/scaffold.py", line 112, in init_project

print_train_or_instructions(args, path)


 "/usr/local/lib/python3.6/dist-packages/rasa/cli/scaffold.py", line 50, in print_train_or_instructions

args.model = rasa.train(domain, config, training_files, output)


 "/usr/local/lib/python3.6/dist-packages/rasa/train.py", line 48, in train

kwargs=kwargs,


 "uvloop/loop.pyx", line 1451, in uvloop.loop.Loop.run_until_complete


 "/usr/local/lib/python3.6/dist-packages/rasa/train.py", line 144, in train_async

kwargs=kwargs,


 "/usr/local/lib/python3.6/dist-packages/rasa/train.py", line 183, in _do_training

kwargs=kwargs,


 "/usr/local/lib/python3.6/dist-packages/rasa/train.py", line 312, in _train_core_with_validated_data

kwargs=kwargs,


 "/usr/local/lib/python3.6/dist-packages/rasa/core/train.py", line 59, in train

agent.train(training_data, **kwargs)


 "/usr/local/lib/python3.6/dist-packages/rasa/core/agent.py", line 668, in train

self.policy_ensemble.train(training_trackers, self.domain, **kwargs)


 "/usr/local/lib/python3.6/dist-packages/rasa/core/policies/ensemble.py", line 89, in train

policy.train(training_trackers, domain, **kwargs)


 "/usr/local/lib/python3.6/dist-packages/rasa/core/policies/keras_policy.py", line 185, in train

shuffled_X.shape[1:], shuffled_y.shape[1:]


 "/usr/local/lib/python3.6/dist-packages/rasa/core/policies/keras_policy.py", line 109, in model_architecture

from tensorflow.keras.models import Sequential
ModuleNotFoundError: No module named 'tensorflow.keras'
