Installing Tensorflow-GPU - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Data Science (https://python-forum.io/forum-44.html) +--- Thread: Installing Tensorflow-GPU (/thread-13130.html) |
Installing Tensorflow-GPU - junzhi - Sep-29-2018 By following the steps in the "How to install Tensorflow GPU on Windows" (https://www.python36.com/install-tensorflow-gpu-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. RE: Installing Tensorflow-GPU - DeaD_EyE - Sep-29-2018 TensorFlow does currently not support Python 3.7. Use Python 3.6 for TensorFlow. RE: Installing Tensorflow-GPU - junzhi - Sep-30-2018 (Sep-29-2018, 07:28 AM)DeaD_EyE Wrote: TensorFlow does currently not support Python 3.7. 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? |