tensorboard: command not found

前端 未结 5 1352
温柔的废话
温柔的废话 2021-02-05 05:22

I installed TensorFlow on my MacBook Pro 10.12.5 from source code by steps described here. https://www.tensorflow.org/install/install_sources

TensorFlow itself works wel

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-05 06:00

    What version of Tensorflow are you running? Older versions don't include Tensorboard.

    If you do have a newer version, I see you are using OSX, which apparently caused some problems for other people: https://github.com/tensorflow/tensorflow/issues/2115 Check this page to fix it!

    As a MacPorts user, I'm used to running things from out of the path /opt/local/bin. When you install a python package via MacPorts, that's where the executables go --- even if they're just symbolic links to files to a main python repository in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/

    pip installs things into the latter directory, but apparently does NOT add the symbolic link to /opt/local/bin

    This has never been an issue (or even come up) for me before, because I've only used pip to install (non-executable) packages which load from within python. In conclusion, there is a /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/tensorboard

    This is a pip / MacPorts-SOP mismatch / user error*, and nothing to do with tensorboard in particular. Please close this issue. Thanks for your help.

    *my 'locate' database was in the process of updating but hadn't completed

提交回复
热议问题