码迷,mamicode.com
首页 > 其他好文 > 详细

ImportError: No module named examples.tutorials.mnist

时间:2016-08-10 21:06:48      阅读:768      评论:0      收藏:0      [点我收藏+]

标签:

Traceback (most recent call last):
  File "nearest_neighbor.py", line 14, in <module>
    from tensorflow.examples.tutorials.mnist import input_data

ImportError: No module named examples.tutorials.mnist

安装的tensorflow升级版本后就OK了,     0.8.0 -> 0.9.0 


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

sudo  pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/protobuf-3.0.0b2.post2-cp27-none-linux_x86_64.whl

 

参考:http://blog.csdn.net/kevinew/article/details/51722682

ImportError: No module named examples.tutorials.mnist

标签:

原文地址:http://www.cnblogs.com/wuchaodzxx/p/5758149.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!