Tensorflow No Module Named Example.tutorials.mnist.input_data
I've installed tensor flow on Mac OS X. Successfully ran simple command line test. Now trying the first tutorial. Fail on the first python line: [python prompt:] import tensorflow
Solution 1:
@mkarlovitz Looks like /Library/Python/2.7/site-packages/
is not in the list of paths python is looking for.
To see what paths are python uses to find packages, do the below ( you can use command line for this ).
1. import sys
2. sys.path
( This tells the list of Paths )
If the /Library/Python/2.7/site-packages/
is not in the above list.
Add it as follows:
In the Python file/script you are executing.
1. import sys
2. sys.path.append('/Library/Python/2.7/site-packages/')
Post a Comment for "Tensorflow No Module Named Example.tutorials.mnist.input_data"