`Traceback (most recent call last):


 "/homes/jain207/anaconda/envs/allennlp/lib/python3.6/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/homes/jain207/anaconda/envs/allennlp/lib/python3.6/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/u/scratch1/jain207/allennlp/allennlp/run.py", line 10, in <module>

from allennlp.commands import main
# pylint: disable=wrong-import-position


 "/u/scratch1/jain207/allennlp/allennlp/commands/__init__.py", line 4, in <module>

from allennlp.commands.serve import add_subparser as add_serve_subparser


 "/u/scratch1/jain207/allennlp/allennlp/commands/serve.py", line 27, in <module>

from allennlp.service import server_sanic


 "/u/scratch1/jain207/allennlp/allennlp/service/server_sanic.py", line 20, in <module>

from allennlp.models.archival import load_archive


 "/u/scratch1/jain207/allennlp/allennlp/models/__init__.py", line 7, in <module>

from allennlp.models.decomposable_attention import DecomposableAttention


 "/u/scratch1/jain207/allennlp/allennlp/models/decomposable_attention.py", line 9, in <module>

from allennlp.modules import FeedForward, MatrixAttention


 "/u/scratch1/jain207/allennlp/allennlp/modules/__init__.py", line 15, in <module>

from allennlp.modules.text_field_embedders import TextFieldEmbedder


 "/u/scratch1/jain207/allennlp/allennlp/modules/text_field_embedders/__init__.py", line 9, in <module>

from allennlp.modules.text_field_embedders.basic_text_field_embedder import BasicTextFieldEmbedder


 "/u/scratch1/jain207/allennlp/allennlp/modules/text_field_embedders/basic_text_field_embedder.py", line 10, in <module>

from allennlp.modules.token_embedders.token_embedder import TokenEmbedder


 "/u/scratch1/jain207/allennlp/allennlp/modules/token_embedders/__init__.py", line 7, in <module>

from allennlp.modules.token_embedders.embedding import Embedding`

**
 "/u/scratch1/jain207/allennlp/allennlp/modules/token_embedders/embedding.py", line 7, in <module>

from torch.nn.functional import embedding
ImportError: cannot import name 'embedding'**

Traceback (most recent call last):


 "/home/jtanner/workspace/scratch/atomic-tests/ansible/bin/ansible", line 106, in <module>

exit_code = cli.run()


 "/home/jtanner/workspace/scratch/atomic-tests/ansible/lib/ansible/cli/adhoc.py", line 178, in run

result = self._tqm.run(play)


 "/home/jtanner/workspace/scratch/atomic-tests/ansible/lib/ansible/executor/task_queue_manager.py", line 211, in run

self.load_callbacks()


 "/home/jtanner/workspace/scratch/atomic-tests/ansible/lib/ansible/executor/task_queue_manager.py", line 179, in load_callbacks

for callback_plugin in callback_loader.all(class_only=True):


 "/home/jtanner/workspace/scratch/atomic-tests/ansible/lib/ansible/plugins/__init__.py", line 418, in all

self._module_cache[path] = self._load_module_source(name, path)


 "/home/jtanner/workspace/scratch/atomic-tests/ansible/lib/ansible/plugins/__init__.py", line 338, in _load_module_source

module = imp.load_source(name, path, module_file)


 "/home/jtanner/workspace/scratch/atomic-tests/ansible/lib/ansible/plugins/callback/profile_roles.py", line 30, in <module>

from ansible.module_utils.six import reduce
ImportError: cannot import name reduce
