Based on https://github.com/carpedm20/MemN2N-tensorflow/issues/12 I had to install future first: `pip install future`