1. 程式人生 > >tensorflow報錯:AttributeError: module 'tensorflow' has no attribute 'feature_column'

tensorflow報錯:AttributeError: module 'tensorflow' has no attribute 'feature_column'

  跑tensorflow第一個例子,報錯AttributeError: module 'tensorflow' has no attribute 'feature_column'
  查了一下,我的版本是1.0.1,這個版本還沒加入feature_column module。於是pip install --upgrade tensorflow更新tensorflow。解決問題。