Traceback (most recent call last):


 "preprocessors/preprocess_movie_dialogs.py", line 24, in <module>

tf.app.run()


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

_sys.exit(main(argv))


 "preprocessors/preprocess_movie_dialogs.py", line 18, in main

s = dialog_line.strip().lower().decode("utf-8", "ignore")
AttributeError: 'str' object has no attribute 'decode'

Traceback (most recent call last):


 "/usr/local/bin/docker-compose", line 11, in <module>

sys.exit(main())


 "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 64, in main

command()


 "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 116, in perform_command

handler(command, command_options)


 "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 848, in up

remove_orphans=remove_orphans)


 "/usr/local/lib/python2.7/dist-packages/compose/project.py", line 389, in up

svc.ensure_image_exists(do_build=do_build)


 "/usr/local/lib/python2.7/dist-packages/compose/service.py", line 312, in ensure_image_exists

self.pull()


 "/usr/local/lib/python2.7/dist-packages/compose/service.py", line 878, in pull

output = self.client.pull(repo, tag=tag, stream=True)


 "/usr/local/lib/python2.7/dist-packages/docker/api/image.py", line 333, in pull

header = auth.get_config_header(self, registry)
AttributeError: 'module' object has no attribute 'get_config_header'
