Traceback (most recent call last):


 "/opt/rh/python27/root/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main

"__main__", fname, loader, pkg_name)


 "/opt/rh/python27/root/usr/lib64/python2.7/runpy.py", line 72, in _run_code

exec code in run_globals


 "/opt/rh/python27/root/usr/lib/python2.7/site-packages/rasa_core/train.py", line 119, in <module>

additional_arguments)


 "/opt/rh/python27/root/usr/lib/python2.7/site-packages/rasa_core/train.py", line 77, in train_dialogue_model

agent = Agent(domain_file, policies=[MemoizationPolicy(), KerasPolicy()])


 "/opt/rh/python27/root/usr/lib/python2.7/site-packages/rasa_core/policies/keras_policy.py", line 26, in __init__

import keras


 "/opt/rh/python27/root/usr/lib/python2.7/site-packages/keras/__init__.py", line 3, in <module>

from . import utils


 "/opt/rh/python27/root/usr/lib/python2.7/site-packages/keras/utils/__init__.py", line 6, in <module>

from . import conv_utils


 "/opt/rh/python27/root/usr/lib/python2.7/site-packages/keras/utils/conv_utils.py", line 3, in <module>

from .. import backend as K


 "/opt/rh/python27/root/usr/lib/python2.7/site-packages/keras/backend/__init__.py", line 83, in <module>

from .tensorflow_backend import *


 "/opt/rh/python27/root/usr/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py", line 1, in <module>

import tensorflow as tf


 "/opt/rh/python27/root/usr/lib/python2.7/site-packages/tensorflow/__init__.py", line 24, in <module>

from tensorflow.python import *


 "/opt/rh/python27/root/usr/lib/python2.7/site-packages/tensorflow/python/__init__.py", line 49, in <module>

from tensorflow.python import pywrap_tensorflow


 "/opt/rh/python27/root/usr/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 72, in <module>

raise ImportError(msg)
ImportError: Traceback (most recent call last):

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/Users/MufeiLi/Desktop/research/projects/dgl/python/dgl/__init__.py", line 1, in <module>

from . import backend


 "/Users/MufeiLi/Desktop/research/projects/dgl/python/dgl/backend/__init__.py", line 44, in <module>

_load_backend()


 "/Users/MufeiLi/Desktop/research/projects/dgl/python/dgl/backend/__init__.py", line 19, in _load_backend

mod = importlib.import_module('.%s' % mod_name, __name__)


 "/Users/MufeiLi/miniconda3/envs/dgl_test/lib/python3.5/importlib/__init__.py", line 126, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "/Users/MufeiLi/Desktop/research/projects/dgl/python/dgl/backend/pytorch/__init__.py", line 1, in <module>

from .tensor import *


 "/Users/MufeiLi/Desktop/research/projects/dgl/python/dgl/backend/pytorch/tensor.py", line 3, in <module>

import torch as th
ImportError: No module named 'torch'
