Skip to content

Can't run TensorBoard on El Captain #35

Description

@VikramTiwari

Got this as an issue while trying to run TensorBoard on El Captain.

python tensorflow/tensorboard/tensorboard.py
/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'tensorflow/tensorboard/tensorboard.py': [Errno 2] No such file or directory

Even after following instructions here for installing tensorflow on a brew based installation of python the error remains same:

python tensorflow/tensorboard/tensorboard.py
python: can't open file 'tensorflow/tensorboard/tensorboard.py': [Errno 2] No such file or directory

Activity

  1. teamdandelion commented on Nov 9, 2015

    @teamdandelion

    A few questions:

    • How did you install TensorFlow?
    • What directory are you running that command in?
    • What happens if you open a python interpreter and type import tensorflow as tf?
  2. manning commented on Nov 9, 2015

    @manning

    Isn't this just that if you did the binary install, you don't have a tensorflow/tensorboard/tensorboard.py file on that relative path, and you should instead be using the tensorboard command?

  3. VikramTiwari commented on Nov 9, 2015

    @VikramTiwari
    ContributorAuthor

    To answer @danmane

    1. I used the process of installing on OSX using HomeBrew installation of Python and then TensorFlow using pip
    2. The directory is very generic but I have tried running it on multiple directories which were owned by user.
    3. Running the sample python program on the getting started page works without any issues.

    @manning While I was writing this, I did a fresh installation to it and it works with
    tensorboard --logfile ./ rather than tensorflow/tensorboard/tensorboard.py --logging ./ as I was trying earlier.

    I guess that was the only issue. But I will try to replicate it later and provide anymore details.

  4. technologiclee commented on Nov 20, 2015

    @technologiclee

    This works for me on Ubuntu and Docker on Google Cloud:
    tensorboard --logdir ./

  5. vrv commented on Nov 24, 2015

    @vrv

    Closing this for now -- looks like the issue is resolved

  6. added a commit that references this issue on Feb 21, 2017
  7. added a commit that references this issue on Jun 20, 2017
  8. added a commit that references this issue on Oct 16, 2019
  9. added a commit that references this issue on Feb 1, 2021
  10. added 5 commits that reference this issue on Apr 9, 2025
  11. added 2 commits that reference this issue on Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions