Traceback (most recent call last):


 "/Users/dan/.pyenv/versions/dpw3/bin/isort", line 11, in <module>

sys.exit(main())


 "/Users/dan/.pyenv/versions/3.6.4/envs/dpw3/lib/python3.6/site-packages/isort/main.py", line 343, in main

sort_attempt = SortImports(file_name, **arguments)


 "/Users/dan/.pyenv/versions/3.6.4/envs/dpw3/lib/python3.6/site-packages/isort/isort.py", line 163, in __init__

self._add_formatted_imports()


 "/Users/dan/.pyenv/versions/3.6.4/envs/dpw3/lib/python3.6/site-packages/isort/isort.py", line 573, in _add_formatted_imports

self._add_from_imports(from_modules, section, section_output, sort_ignore_case)


 "/Users/dan/.pyenv/versions/3.6.4/envs/dpw3/lib/python3.6/site-packages/isort/isort.py", line 502, in _add_from_imports

import_statement = self._multi_line_reformat(import_start, from_import_section, comments)


 "/Users/dan/.pyenv/versions/3.6.4/envs/dpw3/lib/python3.6/site-packages/isort/isort.py", line 519, in _multi_line_reformat

dynamic_indent, indent, line_length, comments)


 "/Users/dan/.pyenv/versions/3.6.4/envs/dpw3/lib/python3.6/site-packages/isort/isort.py", line 662, in _output_grid

if len(next_statement.split(self.line_separator)[-1]) + 1 > line_length:
TypeError: '>' not supported between instances of 'int' and 'str'

Traceback (most recent call last):


 "/usr/local/bin/t2t-datagen", line 378, in <module>

tf.app.run()


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 48, in run

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


 "/usr/local/bin/t2t-datagen", line 361, in main

training_gen(), FLAGS.problem + UNSHUFFLED_SUFFIX + "-train",


 "/usr/local/bin/t2t-datagen", line 151, in <lambda>

lambda: wmt.ende_wordpiece_token_generator(FLAGS.tmp_dir, True, 2**15),


 "/usr/local/lib/python2.7/dist-packages/tensor2tensor/data_generators/wmt.py", line 188, in ende_wordpiece_token_generator

tmp_dir, "tokens.vocab.%d" % vocab_size, vocab_size)


 "/usr/local/lib/python2.7/dist-packages/tensor2tensor/data_generators/generator_utils.py", line 223, in get_or_generate_vocab

vocab_size, tokenizer.token_counts, vocab_filepath, 1, 1e3)


 "/usr/local/lib/python2.7/dist-packages/tensor2tensor/data_generators/text_encoder.py", line 329, in build_to_target_size

return bisect(min_val, max_val)


 "/usr/local/lib/python2.7/dist-packages/tensor2tensor/data_generators/text_encoder.py", line 313, in bisect

present_count = (max_val + min_val) // 2
TypeError: unsupported operand type(s) for +: 'int' and 'str'
