TensorFlow——module 'tensorflow' has no attribute 'xxx'

  • tf.sub()更改为tf.subtract()
  • tf.mul()更改为tf.multiply()
  • tf.types.float32更改为tf.float32
  • tf.pact()更改为tf.stact()
  • tf.select()更改为tf.where()
  • tf.per_image_whitening 改为 tf.image.per_image_standardization

更多参考:Remove tf.train.SummaryWriter and tf.train.SummaryWriterCache.

module 'pandas.core.computation' has no attribute 'expressions'

pd.core.computation.expressions.set_use_numexpr(False)
AttributeError: 'module' object has no attribute 'expressions'

解决方案:

conda update dask pandas

pip throws TypeError: parse() got an unexpected keyword argument 'transport_encoding' when trying to install new packages

解决方案:

conda install pip
posted @ 2017-09-27 14:56  xinet  阅读(13468)  评论(0编辑  收藏  举报