You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tensorboard ImportError: cannot import name 'run_main' #14855
@XiaXuehai Did you ever figure out a fix? After building TF from source on a Mac running High Sierra, and running Tensorboard, I also get that same exact error.
Activity
printdhruv commentedon Nov 24, 2017
(1) You can't import it. Please go to here for support since it's not a bug.
(2) Please fill ISSUE_TEMPLATE before raising an issue.
bigpalm82 commentedon Nov 27, 2017
It could be helpful to run a script directly, e.g. "python /usr/local/lib/python2.7/dist-packages/tensorboard/main.py --logdir=~~~"
tatatodd commentedon Nov 28, 2017
Please file TensorBoard issues under https://github.com/tensorflow/tensorboard/issues
timmolter commentedon Dec 12, 2017
@XiaXuehai Did you ever figure out a fix? After building TF from source on a Mac running High Sierra, and running Tensorboard, I also get that same exact error.
andychat commentedon Jan 5, 2018
I ran into this after building tensorflow from source. Looks to me like you do not get tensorboard automatically when you build tensorflow yourself.
It worked for me after I built tensorboard separately from source: https://github.com/tensorflow/tensorboard.
opeide commentedon Mar 25, 2019
I fixed this by changing the shebang at the top of the python file /usr/local/bin/tensorboard to #!/usr/bin/python3 (was just #!/usr/bin/python).