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

'module' object has no attribute 'contrib'

时间:2018-05-16 00:28:39      阅读:225      评论:0      收藏:0      [点我收藏+]

标签:launch   ext   latest   python   object   attribute   The   module   problem   

Problem solved, turns i had 2 tensorflow versions installed:

  1. When launching $python , it used 0.6 version(which didnt had contrib module)
  2. When launching $sudo python ,it had the latest 0.9 version and everything works as the documentation.

'module' object has no attribute 'contrib'

标签:launch   ext   latest   python   object   attribute   The   module   problem   

原文地址:https://www.cnblogs.com/2008nmj/p/9043253.html

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