AttributeError: module 'tensorboard.util' has no attribute 'PersistentOpEvaluator'
See original GitHub issueGetting next error on tensorboard
launch attempt:
PS C:\Users\user> tensorboard
Traceback (most recent call last):
File "c:\users\user\appdata\local\programs\python\python36\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\users\user\appdata\local\programs\python\python36\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "c:\users\user\appdata\local\programs\python\python36\Scripts\tensorboard.exe\__main__.py", line 5, in <module>
File "c:\users\user\appdata\local\programs\python\python36\lib\site-packages\tensorboard\main.py", line 45, in <module>
from tensorboard import default
File "c:\users\user\appdata\local\programs\python\python36\lib\site-packages\tensorboard\default.py", line 38, in <module>
from tensorboard.plugins.beholder import beholder_plugin
File "c:\users\user\appdata\local\programs\python\python36\lib\site-packages\tensorboard\plugins\beholder\__init__.py", line 15, in <module>
from tensorboard.plugins.beholder.beholder import Beholder
File "c:\users\user\appdata\local\programs\python\python36\lib\site-packages\tensorboard\plugins\beholder\beholder.py", line 25, in <module>
from tensorboard.plugins.beholder import im_util
File "c:\users\user\appdata\local\programs\python\python36\lib\site-packages\tensorboard\plugins\beholder\im_util.py", line 89, in <module>
class PNGDecoder(util.PersistentOpEvaluator):
AttributeError: module 'tensorboard.util' has no attribute 'PersistentOpEvaluator'
Version:
PS C:\Users\user> pip show tensorboard
Name: tensorboard
Version: 1.12.1
Summary: TensorBoard lets you watch Tensors Flow
Home-page: https://github.com/tensorflow/tensorboard
Author: Google Inc.
Author-email: opensource@google.com
License: Apache 2.0
Location: c:\users\user\appdata\local\programs\python\python36\lib\site-packages
Requires: werkzeug, markdown, protobuf, six, numpy, grpcio, wheel
Required-by: tensorflow-gpu
- Windows 10, 64
- Python version 3.6
Thank you!
Issue Analytics
- State:
- Created 5 years ago
- Comments:18 (1 by maintainers)
Top Results From Across the Web
AttributeError: module 'tensorboard.util' has no attribute ...
AttributeError : module 'tensorboard.util' has no attribute 'PersistentOpEvaluator' , when trying to use TensorBoard · python · python-3.x ...
Read more >Module 'tensorboard.util' has no attribute 'persistent ... - AI Pool
I just installed my tensorboard, but now I get this error when I try to run something. AttributeError: module 'tensorboard.util' has no ......
Read more >AttributeError: module 'tensorboard.util' has no attribute ...
在服务器中输入tensorboard --logdir path 提示如下错误. AttributeError: module 'tensorboard.util' has no attribute 'PersistentOpEvaluator'.
Read more >AttributeError: module 'tensorboard.util' has no attribute ... - 简书
tensorboard看图的时候出现这样的错误 AttributeError: module 'tensorboard.util' has no attribute 'PersistentOpEvaluator' 参考了github的说法
Read more >AttributeError: module 'tensorboard.util' has no ... - 程序员大本营
AttributeError : module 'tensorboard.util' has no attribute 'PersistentOpEvaluator'解决方案,程序员大本营,技术文章内容聚合第一站。
Read more >Top Related Medium Post
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello everyone, thanks for reporting the issue. Which version of TensorFlow have you installed? This can happen if you have tb-nightly installed on your virtualenv then install tensorboard==1.12.x.
Like @kenpachiii put, can you try to delete tensorboad directory in site-packages (Location in
pip show tensorboard
) thenpip install tensorboard==1.12
?I got it working with the following steps:
pip uninstall tensorflow
pip uninstall tensorboard
pip install [whatever wheel package]
You can find the wheel packages here for specific install types: https://www.tensorflow.org/install/pip
Note: I only stated the specific wheel package because that’s what I did.
I know this doesn’t explain the ‘why’ of the issue but it got things going for me. Hope it helps!