Tensorflow: Tutorial ImportError: No module named examples.tutorials.mnist.input_data

Created on 2 Feb 2016  ·  3Comments  ·  Source: tensorflow/tensorflow

I am beginner in tensorflower

install tensorflow with pip
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.6.0-cp27-none-linux_x86_64.whl

I want to start with the tutorial "MNIST For ML Beginners"
but first import get error...
import tensorflow.examples.tutorials.mnist.input_data
File "<stdin>", line 1, in <module>
ImportError: No module named examples.tutorials.mnist.input_data

OS:Ubuntu 14.04
run on virtualbo

Most helpful comment

Examples are missing from the .whl installer for Mac. (VirtualEnv, python2.7).

Most of the examples do not work, because import path is incorrect and have to be changed manually.

All 3 comments

Stack overflow is perhaps better for these sort of questions. Have you tried
https://www.google.com/search?q=ImportError%3A+No+module+named+examples.tutorials.mnist.input_data

BTW: It is something is wrong with the python environment. Have the pip finished without error? Are you using virtualenv?

thanks for your help
pip install finished without error and I have not using virtualenv
I will ask on Stack Overflow

Examples are missing from the .whl installer for Mac. (VirtualEnv, python2.7).

Most of the examples do not work, because import path is incorrect and have to be changed manually.

Was this page helpful?
0 / 5 - 0 ratings