Python Forum
Installing Tensorflow-GPU
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing Tensorflow-GPU
#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?
Reply


Messages In This Thread
Installing Tensorflow-GPU - by junzhi - Sep-29-2018, 07:02 AM
RE: Installing Tensorflow-GPU - by DeaD_EyE - Sep-29-2018, 07:28 AM
RE: Installing Tensorflow-GPU - by junzhi - Sep-30-2018, 07:43 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Installing tensorflow Blue Dog 7 5,064 Nov-10-2019, 11:54 PM
Last Post: snippsat
  Installing Tensorflow-GPU Help junzhi 1 3,232 Oct-04-2018, 12:40 PM
Last Post: Larz60+
  Installing Tensorflow Scott 14 21,203 Jun-04-2018, 04:07 AM
Last Post: Scott

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020