Sep-30-2018, 07:43 AM
(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?