2017-05-17 98 views
0

我正在嘗試從源代碼安裝tensorflow。當我在終端中輸入bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package -cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0時,它只給了我一個角括號指示器>。接下來我應該做什麼?Bazel構建命令從源安裝tensorflow

這裏是./configure步輸出。

Please specify the location of python. [Default is /home/jingw222/anaconda3/bin/python]: 
Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native]: 
Do you wish to use jemalloc as the malloc implementation? [Y/n] 
jemalloc enabled 
Do you wish to build TensorFlow with Google Cloud Platform support? [y/N] 
No Google Cloud Platform support will be enabled for TensorFlow 
Do you wish to build TensorFlow with Hadoop File System support? [y/N] 
No Hadoop File System support will be enabled for TensorFlow 
Do you wish to build TensorFlow with the XLA just-in-time compiler (experimental)? [y/N] 
No XLA support will be enabled for TensorFlow 
Found possible Python library paths: 
    /home/jingw222/anaconda3/lib/python3.6/site-packages 
Please input the desired Python library path to use. Default is [/home/jingw222/anaconda3/lib/python3.6/site-packages] 

Using python library path: /home/jingw222/anaconda3/lib/python3.6/site-packages 
Do you wish to build TensorFlow with OpenCL support? [y/N] 
No OpenCL support will be enabled for TensorFlow 
Do you wish to build TensorFlow with CUDA support? [y/N] 
No CUDA support will be enabled for TensorFlow 
Configuration finished 
........... 
INFO: Starting clean (this may take a while). Consider using --expunge_async if the clean takes more than several minutes. 
.......... 
INFO: All external dependencies fetched successfully. 

回答

1

它可以是你缺少一個右「?

bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package -cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0"

相關問題