-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Work behind a proxy #601
Comments
Duplicate of #587 |
Hi, I try to compile tensorflow on F28, using Bazel 0.22 from Fedora Copr. I have http_proxy and https_proxy set and I added no_proxy to avoid having proxy on localhost. Information about my issue: $ bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package |
Same problem here.
|
Finally, I downloaded every "bazel package" using wget into a local directory (all in the same directory), and then I ran bazel using the --distdir= command line option. Bazel went and get the package in the "distdir" and not on the internet, through the proxy. This is no fix, this does not solve the problem, but it's a usable (but quite annoying) workaround. |
Related #6196 |
@phdeniel I'm building TensorFlow version 1.9, which require bazel 0.11.0 (https://www.tensorflow.org/install/source#tested_build_configurations) |
build tf 2.1 with bazel 0.29.1 now... encountered this issue at the beginning because I exported http_proxy (and https_proxy) =localhost:1080, and bazel doesn't recognize it. everything works fine after I changed http_proxy and https_proxy to http://localhost:1080 |
I'm using bazel to build an open source project, and it will download some third-party packages. My machine connects to the outside world with a proxy, and I set the "http_proxy" and "https_proxy" environment variables to use the proxy.
I find bazel is not able to download the third-party packages using my proxy. I tried manually downloading the packages using "wget" and it works. So I'm wondering how do I let bazel use a proxy?
Thanks,
Cui
The text was updated successfully, but these errors were encountered: