0% found this document useful (0 votes)
187 views1 page

Solution For Problem in Tensorflow

The document describes errors encountered when using Tensorflow and potential solutions. The first error is an ImportError related to importing _message from google.protobuf.pyext, which is likely due to an incompatibility between the Protobuf and Tensorflow versions that can be addressed by installing Protobuf 3.6.1. The second error is an AttributeError that module 'tensorboard.util' has no attribute 'retrier', which may occur if tf-nightly is installed and can be fixed by uninstalling and reinstalling Tensorboard with a specific version. The third error mentioned is a generic FileWriter error but no other details or solution are provided.

Uploaded by

Govind G
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
187 views1 page

Solution For Problem in Tensorflow

The document describes errors encountered when using Tensorflow and potential solutions. The first error is an ImportError related to importing _message from google.protobuf.pyext, which is likely due to an incompatibility between the Protobuf and Tensorflow versions that can be addressed by installing Protobuf 3.6.1. The second error is an AttributeError that module 'tensorboard.util' has no attribute 'retrier', which may occur if tf-nightly is installed and can be fixed by uninstalling and reinstalling Tensorboard with a specific version. The third error mentioned is a generic FileWriter error but no other details or solution are provided.

Uploaded by

Govind G
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

1) ImportError: cannot import name '_message' from

'google.protobuf.pyext' (c:\programdata\anaconda3\lib\site-
packages\google\protobuf\pyext\__init__.py)

Solution: When using tensorflow, the ImportError: DLL load failed error, there are many
reasons, up from the google.protobuf.pyext import _message error, it should be the
protobuf version of the problem,

When tensorflow is automatically installed, protobuf installs the latest version 3.7.1, and
there is an incompatibility problem.

Replace with protobuf 3.6.1 (pip install protobuf==3.6.1).

2) attributeerror module 'tensorboard.util' has no attribute 'retrier'

Solution: If you have installed tf-nightly in the same place, then you might have
something like this. install tensorboard with sepcific version or you can do:
1. pip uninstall tensorbaord

2. pip install tensorbaord==1.12

3) FileWriter error

Solution: Tensorflow version 1.15.0

You might also like