Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
ImportError: cannot import name 'run_main' #812
This is in reference to an issue already posted at tensorflow/tensorflow#14855.
After building TF V1.4 (master) from source on a Mac running High Sierra, and running Tensorboard, I get the following error.
This previously worked before I built TF from source insstalling it via:
@nfelt Thank you for your response! Here is what I did to build TF from source. I'm new to TF and all these build tools. BTW, this is after I did a clone from TF master commit dd788dbbfa544c1ea4768940ac4300c22bb7e88e on Dec 4th. I'll pull the latest updates and try again...
I invoked tensorboard from
Compile TF from source
Install XCode via AppStore.
The C++ API (and the backend of the system) is in
We need a custom
Here is our
Notice the commented out line:
Make sure the file is executable!
Path to python, when asked, is:
The first build might take over two hours!
Re-run an example
The tensorflow pip package by default depends on
What exactly do you mean by no "tb-nightly" could be found? Is there no access to pip on your platform?
If you can't install tensorboard from a package at all, I think your only real option is downloading the sources from the git repository here and trying to build it locally, but I can't really guarantee if that will work.