ich Ubuntu von VirtualBox unter Windows verwenden 10.Konfigurieren Tensorflow In Linux VM unter Windows 10
Ich habe tensorflow über die Befehlszeile Funktion in den offiziellen link
pip install tensorflow
Dann wie gesagt heruntergeladen Ich ging tensorflow Datei und konfiguriert tensorflow von:
./configure
Da antwortete ich eine Reihe von Fragen:
Please specify the location of python. [Default is /usr/bin/python]: /usr/bin/python
Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native]: -march=native
Do you wish to use jemalloc as the malloc implementation? [Y/n] n
jemalloc disabled
Do you wish to build TensorFlow with Google Cloud Platform support? [y/N] n
No Google Cloud Platform support will be enabled for TensorFlow
Do you wish to build TensorFlow with Hadoop File System support? [y/N] 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] n
No XLA JIT support will be enabled for TensorFlow
Found possible Python library paths:
/usr/local/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages
Please input the desired Python library path to use. Default is [/usr/local/lib/python2.7/dist-packages]
/usr/local/lib/python2.7/dist-packages
Do you wish to build TensorFlow with OpenCL support? [y/N] n
No OpenCL support will be enabled for TensorFlow
Do you wish to build TensorFlow with CUDA support? [y/N] n
No CUDA support will be enabled for TensorFlow
Hier ist der Fehler, den ich habe:
Configuration finished
INFO: Starting clean (this may take a while). Consider using --expunge_async if the clean takes more than several minutes.
........................
ERROR: /home/alexluk/tensorflow/tensorflow/core/platform/default/build_config.bzl:220:6:
name 'WITH_GCP_SUPPORT' is not defined.
ERROR: package contains errors: tensorflow/c.
ERROR: error loading package 'tensorflow/c': Extension 'tensorflow/core/platform/default/build_config.bzl' has errors.
Jede Idee, wie er damit umgehen? Vielen Dank.
Vielleicht ist es verwandt. Wenn ich den folgenden Code ausführen:
bazel build //tensorflow/examples/android:tensorflow_demo
habe ich diesen Fehler:
WARNING: Bazel Android NDK crosstools are based on Android NDK revision 12. The revision of the Android NDK given in android_ndk_repository rule 'androidndk' is '14.0.3770861'.
ERROR: /home/alexluk/tensorflow/tensorflow/core/platform/default/build_config.bzl:220:6: name 'WITH_GCP_SUPPORT' is not defined.
ERROR: /home/alexluk/tensorflow/tensorflow/contrib/android/BUILD:72:1: error loading package 'tensorflow/core': Extension 'tensorflow/core/platform/default/build_config.bzl' has errors and referenced by '//tensorflow/contrib/android:libtensorflow_inference.so'.
ERROR: Analysis of target '//tensorflow/examples/android:tensorflow_demo' failed; build aborted.
Vielleicht ist es verwandt. Wenn ich den folgenden Code ausführen: –