tensorflow / models

Models and examples built with TensorFlow
Other
77.21k stars 45.75k forks source link

[textsum] No module named 'Queue' #341

Closed jpollard-cs closed 8 years ago

jpollard-cs commented 8 years ago

for the textsum model, there is a module named Queue and for the life of me I can't figure out where that should be coming from - it doesn't seem to be a standard Python module

forgive me if this is obvious - I am not a frequent Python user

here is the traceback:

  File "/workspace/textsum_workspace_01/bazel-bin/textsum/seq2seq_attention.runfiles/__main__/textsum/seq2seq_attention.py", line 28, in <module>
    import batch_reader
  File "/workspace/textsum_workspace_01/textsum/batch_reader.py", line 19, in <module>
    import Queue
  ImportError: No module named 'Queue'
jpollard-cs commented 8 years ago

looks like using Python 2 solves the problem