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

build failed,even the basic example hello world #208

Closed
Sara533 opened this issue Oct 31, 2019 · 2 comments
Closed

build failed,even the basic example hello world #208

Sara533 opened this issue Oct 31, 2019 · 2 comments

Comments

@Sara533
Copy link

Sara533 commented Oct 31, 2019

When I run the example on Ubuntu, it always failed.
ERROR: An error occurred during the fetch of repository 'org_tensorflow':
java.io.IOException: Error downloading [https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/67def62936e28f97c16182dfcc467d8d1cae02b4.tar.gz, https://github.com/tensorflow/tensorflow/archive/67def62936e28f97c16182dfcc467d8d1cae02b4.tar.gz] to /home/sunny/.cache/bazel/_bazel_sunny/cd8ad4f2794b178f6f1709ac05e5bf6e/external/org_tensorflow/67def62936e28f97c16182dfcc467d8d1cae02b4.tar.gz: Read timed out
ERROR: no such package '@org_tensorflow//tensorflow': java.io.IOException: Error downloading [https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/67def62936e28f97c16182dfcc467d8d1cae02b4.tar.gz, https://github.com/tensorflow/tensorflow/archive/67def62936e28f97c16182dfcc467d8d1cae02b4.tar.gz] to /home/sunny/.cache/bazel/_bazel_sunny/cd8ad4f2794b178f6f1709ac05e5bf6e/external/org_tensorflow/67def62936e28f97c16182dfcc467d8d1cae02b4.tar.gz: Read timed out
ERROR: no such package '@org_tensorflow//tensorflow': java.io.IOException: Error downloading [https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/67def62936e28f97c16182dfcc467d8d1cae02b4.tar.gz, https://github.com/tensorflow/tensorflow/archive/67def62936e28f97c16182dfcc467d8d1cae02b4.tar.gz] to /home/sunny/.cache/bazel/_bazel_sunny/cd8ad4f2794b178f6f1709ac05e5bf6e/external/org_tensorflow/67def62936e28f97c16182dfcc467d8d1cae02b4.tar.gz: Read timed out
INFO: Elapsed time: 431.628s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)

@jiuqiant
Copy link
Contributor

Can you do bazel clean --expunge to clean the cache first and retry the build command?

It seems like the actual error is "java.io.IOException: Error downloading". It might be temporarily network issue. If you are in mainland China, VPN probably can help you get ride of such issue caused by the firewall. See #3, #70, and #153

@Sara533
Copy link
Author

Sara533 commented Nov 1, 2019

@jiuqiant I have tried what you said above, but still failed with similar errors. I have used VPN.
An error occurred during the fetch of repository 'org_tensorflow':
java.io.IOException: Error downloading [https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/67def62936e28f97c16182dfcc467d8d1cae02b4.tar.gz, https://github.com/tensorflow/tensorflow/archive/67def62936e28f97c16182dfcc467d8d1cae02b4.tar.gz] to /home/sunny/.cache/bazel/_bazel_sunny/e2409063e413b668f429c3bd336e2971/external/org_tensorflow/67def62936e28f97c16182dfcc467d8d1cae02b4.tar.gz: Premature EOF

And I find many tools are http_archive defined in WORKSPACE file.Can I change to local_repository?

@mgyong mgyong closed this as completed Nov 8, 2019
arttupii pushed a commit to arttupii/mediapipe that referenced this issue Nov 18, 2023
…te_ios_sdk_version

Bumped iOS SDK version to 0.10.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants