Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Installing Tensorflow-GPU
#1
By following the steps in the "How to install Tensorflow GPU on Windows" (https://www.python36.com/install-tensorf...u-windows/)

I am stuck on the “Step 10: Build Tensorflow using MSbuild”, using this "MSBuild /p:Configuration=Release /verbosity:detailed tf_python_build_pip_package.vcxproj" in the command prompt results in this:

Microsoft ® Build Engine version 15.7.180.61344 for .NET Framework
Copyright © Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1009: Project file does not exist.
Switch: tf_python_build_pip_package.vcxproj

What is this problem and how to fix it please.
I am using a Dell Inspiron 15 7559 with Core i5-6300HQ and GTX960M. Python 3.7.0, NVIDIA CUDA driver 9.2 and Visual Studio Community 2017 are installed.
I have followed every steps in the page but I am stuck with this MSBuild part. Wall
Quote
#2
TensorFlow does currently not support Python 3.7.
Use Python 3.6 for TensorFlow.
My code examples are always for Python >=3.6.0
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Quote
#3
(Sep-29-2018, 07:28 AM)DeaD_EyE Wrote: TensorFlow does currently not support Python 3.7.
Use Python 3.6 for TensorFlow.

I have restarted the whole process and follow the steps in the "https://www.python36.com/install-tensorflow-gpu-windows/" page.
But this time I am stuck at the Step 9: Configure Tensorflow from source using CMake and this happened

---------------------------------------------------------------------------------------------------
c:\tensorflow\tensorflow\contrib\cmake\build>cmake -G "Visual Studio 14 2015 Win64" -T host=x64 -DCMAKE_BUILD_TYPE=Release -DSWIG_EXECUTABLE=c:/swigwin-3.0.12/swig.exe -Dtensorflow_ENABLE_GPU=ON -Dtensorflow_CUDA_VERSION=9.1 -Dtensorflow_CUDNN_VERSION=7 -Dtensorflow_WIN_CPU_SIMD_OPTIONS=/arch:AVX2 ..
CMake Error at tf_python.cmake:37 (message):
Cannot get Python include directory. Is distutils installed?
Call Stack (most recent call first):
CMakeLists.txt:422 (include)


-- Configuring incomplete, errors occurred!
See also "C:/tensorflow/tensorflow/contrib/cmake/build/CMakeFiles/CMakeOutput.log".
See also "C:/tensorflow/tensorflow/contrib/cmake/build/CMakeFiles/CMakeError.log".
------------------------------------------------------------------------------------------------------

Can you help me with this?
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Installing tensorflow Blue Dog 7 527 Nov-10-2019, 11:54 PM
Last Post: snippsat
  Installing Tensorflow-GPU Help junzhi 1 989 Oct-04-2018, 12:40 PM
Last Post: Larz60+
  Installing Tensorflow Scott 14 12,767 Jun-04-2018, 04:07 AM
Last Post: Scott

Forum Jump:


Users browsing this thread: 1 Guest(s)