Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not locate tensorflow installation path. #56

Closed
Raviteja1996 opened this issue Mar 28, 2019 · 5 comments
Closed

Could not locate tensorflow installation path. #56

Raviteja1996 opened this issue Mar 28, 2019 · 5 comments
Labels
stat:awaiting response Awaiting response from user

Comments

@Raviteja1996
Copy link

Hi, as you told in #49 that supported version was ubuntu 16. So I was also trying to run on another system which consists of ubuntu 16. But I was facing Could not locate tensorflow path everytime. But I do have tensorflow installed in my system.

Command : bazel build -c opt //lingvo:trainer
output:
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
DEBUG: Rule 'subpar' modified arguments {"commit": "07ff5feb7c7b113eea593eb6ec50b51099cf0261", "shallow_since": "1524766240 -0700"} and dropped ["tag"]
ERROR: /home/guest/lingvo/lingvo/core/ops/BUILD:24:1: no such package '@tensorflow_includes//': Traceback (most recent call last):
File "/home/guest/lingvo/lingvo/repo.bzl", line 70
_find_tf_include_path(repo_ctx)
File "/home/guest/lingvo/lingvo/repo.bzl", line 16, in _find_tf_include_path
fail("Could not locate tensorflow ins...")
Could not locate tensorflow installation path. and referenced by '//lingvo/core/ops:x_ops'
ERROR: Analysis of target '//lingvo:trainer' failed; build aborted: no such package '@tensorflow_includes//': Traceback (most recent call last):
File "/home/guest/lingvo/lingvo/repo.bzl", line 70
_find_tf_include_path(repo_ctx)
File "/home/guest/lingvo/lingvo/repo.bzl", line 16, in _find_tf_include_path
fail("Could not locate tensorflow ins...")
Could not locate tensorflow installation path.
INFO: Elapsed time: 1.193s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 24 targets configured)
Fetching @protobuf_protoc; fetching
Fetching @tensorflow_solib; fetching
Fetching @tensorflow_includes; fetching

@jonathanasdf
Copy link
Contributor

It's just running this command:

"python",

Try running the command manually and figure out why it's not locating it. Maybe python vs python3?

@Raviteja1996
Copy link
Author

Hi I think what you said was right! I had python3 before now I installed tensorflow with python but now I was facing another error. I am attaching the error log.

Gpipe_err.txt

@jonathanasdf
Copy link
Contributor

It seems you installed tensorflow, but we need tf-nightly instead.

Please pip install tf-nightly (make sure you're using the correct pip of course)

@drpngx drpngx added the stat:awaiting response Awaiting response from user label Mar 29, 2019
@Raviteja1996
Copy link
Author

thank you, it got resolved.

@Raviteja1996
Copy link
Author

tf-nightly version : 1.14.1.dev20190331 is only working while using python. When I tried to use version greater than that it showing error and was not able to build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat:awaiting response Awaiting response from user
Projects
None yet
Development

No branches or pull requests

3 participants