dmlc / tensorboard

Standalone TensorBoard for visualizing in deep learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot import name event_pb2

kernel8liang opened this issue · comments

commented

get an import error.

---> 23 from .src import event_pb2
     24 from .src import summary_pb2
     25 from .event_file_writer import EventFileWriter

ImportError: cannot import name event_pb2

Did you compiled the protos and installed the Python package successfully? Please provide more info for me to reproduce.

commented

check around, found that files in tensorboard/python/tensorboard/src isn't copied to the site-packages/tensorboard. Manually copy these files, it works.

@kernel8liang thanks for the feedback, let me check.

could you tell me your system?

do you install the package directly under the default python path?

Please try the latest PyPI installation.

FYI: Met the same problem with custom built tensorboard wheel(since StringIO issue(#31) is still unfixed in 1.0.0a6). Fixed the same problem with #15 (comment) .

@JiamingSuen Please build from source, as we haven't finished the latest PyPI currently.

Meet the same issue at the latest master branch.tensorboard/python/tensorboard/src is empty with only an empty __init__.py file

envs:
Ubuntu16.04
Python2.7
Bazel 0.6