I have error as No module named __future__
.
I use tensorflow and it has Python2.7.
Once I run a program, I got error as shown below.
import tensorflow
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/coie/tensorflow/local/lib/python2.7/site-packages/tensorflow/__init__.py", line 19, in <module>
from __future__ import absolute_import
ImportError: No module named __future__
How to install future into tensorflow's Python?
__future__
module is part of the core Python interpreter. If you're not able to load it, there's something badly wrong with your Python installation.