Can't import legacy_seq2seq from tensorflow.contrib
I'm using tf.nn.seq2seq.sequence_loss_by_example - they've moved a lot of stuff from tf.contrib to main packages. This is because they updated their code, but not their examples - if you open github - you'll see a lot of requests to fix issues related to that!
I'm using tensorflow 0.12.1 on Python 3.5.2 on a Windows 10 64bit computer. For some reason, whenever I try to import legacy_seq2seq from tensorflow.contrib, it always occurs the error: ImportError: cannot import name 'legacy_seq2seq'.
What causes the problem and how can I fix it?