Traceback (most recent call last):


 "/home/pltrdy/anaconda3/bin/t2t-trainer", line 96, in <module>

tf.app.run()


 "/home/pltrdy/anaconda3/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 48, in run

_sys.exit(main(_sys.argv[:1] + flags_passthrough))


 "/home/pltrdy/anaconda3/bin/t2t-trainer", line 83, in main

problem.generate_data(data_dir, tmp_dir)


 "/home/pltrdy/anaconda3/lib/python3.6/site-packages/tensor2tensor/data_generators/problem.py", line 625, in generate_data

self.generator(data_dir, tmp_dir, True), all_paths)


 "/home/pltrdy/anaconda3/lib/python3.6/site-packages/tensor2tensor/data_generators/generator_utils.py", line 143, in generate_files

for case in generator:


 "/home/pltrdy/anaconda3/lib/python3.6/site-packages/tensor2tensor/data_generators/cnn_dailymail.py", line 132, in generator

story_generator(tmp_dir))


 "/home/pltrdy/anaconda3/lib/python3.6/site-packages/tensor2tensor/data_generators/generator_utils.py", line 328, in get_or_generate_vocab_inner

for item in generator:


 "/home/pltrdy/anaconda3/lib/python3.6/site-packages/tensor2tensor/data_generators/cnn_dailymail.py", line 78, in story_generator

line = unicode(line, "utf-8") if six.PY2 else line.decode("utf-8")
AttributeError: 'str' object has no attribute 'decode'

Traceback (most recent call last):


 "setup.py", line 52, in <module>

module_check_fn(is_nilearn_installing=True)


 "<string>", line 110, in _check_module_dependencies


 "<string>", line 60, in _import_module_with_version_check


 "/usr/lib64/python3.5/site-packages/sklearn/__init__.py", line 57, in <module>

from .base import clone


 "/usr/lib64/python3.5/site-packages/sklearn/base.py", line 12, in <module>

from .utils.fixes import signature


 "/usr/lib64/python3.5/site-packages/sklearn/utils/__init__.py", line 11, in <module>

from .validation import (as_float_array,


 "/usr/lib64/python3.5/site-packages/sklearn/utils/validation.py", line 18, in <module>

from ..utils.fixes import signature


 "/usr/lib64/python3.5/site-packages/sklearn/utils/fixes.py", line 403, in <module>

from scipy.stats import rankdata


 "/usr/lib64/python3.5/site-packages/scipy/stats/__init__.py", line 343, in <module>

from .stats import *


 "/usr/lib64/python3.5/site-packages/scipy/stats/stats.py", line 171, in <module>

from . import distributions


 "/usr/lib64/python3.5/site-packages/scipy/stats/distributions.py", line 10, in <module>

from ._distn_infrastructure import (entropy, rv_discrete, rv_continuous,


 "/usr/lib64/python3.5/site-packages/scipy/stats/_distn_infrastructure.py", line 16, in <module>

from scipy.misc import doccer


 "/usr/lib64/python3.5/site-packages/scipy/misc/__init__.py", line 67, in <module>

from scipy.interpolate._pade import pade as _pade


 "/usr/lib64/python3.5/site-packages/scipy/interpolate/__init__.py", line 175, in <module>

from .interpolate import *


 "/usr/lib64/python3.5/site-packages/scipy/interpolate/interpolate.py", line 32, in <module>

from .interpnd import _ndim_coords_from_arrays


 "interpnd.pyx", line 1, in init scipy.interpolate.interpnd


 "/usr/lib64/python3.5/site-packages/scipy/spatial/__init__.py", line 95, in <module>

from .qhull import *


 "qhull.pyx", line 2155, in init scipy.spatial.qhull
AttributeError: 'cython_function_or_method' object has no attribute '__func__'
