Skip to content
This repository has been archived by the owner on Mar 25, 2020. It is now read-only.

sh installer.sh failed(ERROR: no such package 'tensorflow/tensorboard': BUILD file not found on package path.) #49

Open
my777777 opened this issue Jun 28, 2017 · 3 comments

Comments

@my777777
Copy link

ubuntu14.04

I follow the readme to install tensorboard for mxnet, after I run "sh installer.sh", I get an error:
ERROR: no such package 'tensorflow/tensorboard': BUILD file not found on package path.
INFO: Elapsed time: 0.339s
cp: cannot create directory ‘bazel-bin/tensorflow/tools/’: No such file or directory
bash: bazel-bin/tensorflow/tools/pip_package/build_pip_package.sh: No such file or directory
Requirement 'python/dist/*.whl' looks like a filename, but the file does not exist
%2A.whl is not a valid wheel filename.

I didn't use tensorflow in the past, and I can't find what's wrong with it, please help me, thanks! ^_^

@my777777
Copy link
Author

my777777 commented Jun 28, 2017

oh, I find the master branch of tensorflow doesn't contain "tensorflow/tensorboard", so I switch to the branch r1.2, and then the error disappear. But another error emerges..

INFO: Elapsed time: 387.957s, Critical Path: 221.53s
2017年 06月 29日 星期四 00:08:13 CST : === Using tmpdir: ../python/tensorboard/
Really old (0.2.1-) runfiles, without workspace name
~/tensorboard/python/tensorboard ~/tensorboard/tensorflow
error: patch failed: python/tensorboard/tensorboard:7
error: python/tensorboard/tensorboard: patch does not apply
Requirement 'python/dist/*.whl' looks like a filename, but the file does not exist
%2A.whl is not a valid wheel filename.
Storing debug log for failure in /tmp/tmpY2O0xj
Now you can remove tensorflow with rm -rf tensorflow

it looks like error on "bash bazel-bin/tensorflow/tools/pip_package/build_pip_package.sh ../python/dist/"

@zihaolucky
Copy link
Member

@my777777 Please refer the code here https://github.com/zihaolucky/tensorboard-distro/blob/master/travis_installer.sh#L14-L18 to resolve your issue.

I'm going to change the backend to tensorflow/tensorboard and change our project name to tensorboard-lite once we finish the refactor, the interface won't change. Might finish the work in this week.

@my777777
Copy link
Author

my777777 commented Jun 29, 2017

@zihaolucky get it.. But there is still a problem, when run bazel-bin/tensorflow/tools/pip_package/build_pip_package.sh ../python/dist/, I get a "git apply" error:

error: patch failed: python/tensorboard/tensorboard:7
error: python/tensorboard/tensorboard: patch does not apply

Then I find the error appears on line 115 (line content: "git apply ../tensorboard-python-binary.patch") in the file "tensorboard/tensorflow/bazel-bin/tensorflow/tools/pip_package/build_pip_package.sh". I don't know much about "git apply", can you give me more information about it? thanks!^_^

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants