Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial ImportError: No module named examples.tutorials.mnist.input_data #957

Closed
Billy4195 opened this issue Feb 2, 2016 · 3 comments
Closed

Comments

@Billy4195
Copy link

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

@jendap
Copy link
Contributor

jendap commented Feb 2, 2016

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?

@Billy4195
Copy link
Author

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

@mxrguspxrt
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants