-
Notifications
You must be signed in to change notification settings - Fork 74.1k
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
bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package #29973
Comments
Please have a look on this similar issue and let us know if that resolves the error. Thanks! |
Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks! |
while running the command git checkout branchname |
Where did you get the command from? There is some context which is missing in your question above |
I am following the commands given on this Build from source on Windows |
Quoting from there
You can use master (getting you the latest code) or the release branch corresponding to the TF version you want to build from source (e.g., |
Now when I am running this command I am getting this error:
|
Do you have |
Yes,In tensorflow folder configure file is present but not in .py extension. |
Most likely you didn't get a full clone of the repository, or accidentally removed files. I suggest trying again from scratch, from a new fresh clone |
Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
Hello Tensorflow team
System information
Describe the problem
I am following the commands Build from source on Windows and got stuck
C:\Users\DELL\tensorflow>bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package
WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:
c:\users\dell\tensorflow/tools/bazel.rc
INFO: Options provided by the client:
Inherited 'common' options: --isatty=1 --terminal_columns=120
INFO: Options provided by the client:
'build' options: --python_path=C:/Users/DELL/Miniconda3/python.exe
INFO: Reading rc options for 'build' from c:\users\dell\tensorflow.tf_configure.bazelrc:
'build' options: --action_env PYTHON_BIN_PATH=C:/Users/DELL/Miniconda3/python.exe --action_env PYTHON_LIB_PATH=C:/Users/DELL/Miniconda3/lib/site-packages --python_path=C:/Users/DELL/Miniconda3/python.exe --action_env TF_NEED_OPENCL_SYCL=0 --action_env TF_NEED_CUDA=0 --action_env TF_DOWNLOAD_CLANG=0 --define grpc_no_ares=true --strip=always --config monolithic --copt=-w --host_copt=-w --verbose_failures
ERROR: Config value monolithic is not defined in any .rc file
INFO: Invocation ID: 0388987f-5098-402f-afd1-3cf7ab4f3e40
Provide the exact sequence of commands / steps that you executed before running into the problem
I installed Msys2
then used pacman -S git patch unzip
set path as C:\msys64\usr\bin\bash.exe for BAZEL_SH
I installed Visual C++ Build Tools 2015
git clone https://github.com/tensorflow/tensorflow.git
cd tensorflow
git checkout r1.9
python ./configure.py
bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
I tried many ways to resolve this but can't find the solution please help me out and if possible please make video for this
The text was updated successfully, but these errors were encountered: