Tensorflow install on Windows Error

后端 未结 4 1905
一向
一向 2020-12-12 01:56

Tensorflow is now available on Windows:

 https://developers.googleblog.com/2016/11/tensorflow-0-12-adds-support-for-windows.html

I used pip

相关标签:
4条回答
  • 2020-12-12 02:17

    From the path of your Python interpreter (C:\Python\Python35-32), it appears that you are using the 32-bit version of Python 3.5. The official TensorFlow packages are only available for 64-bit architectures (x64/amd64), so you have two options:

    1. Install the 64-bit version of Python 3.5 (either from Python.org or Anaconda), or

    2. Compile the PIP package yourself for 32-bit Python 3.5. You may be able to do this using the experimental CMake build (see here for details), but this is not a supported or tested configuration.

    (Note that I'm not sure how you installed the package on a 32-bit version of Python, because when I tried to do that I got an error message: "Not a supported wheel on this platform.")

    0 讨论(0)
  • 2020-12-12 02:21

    IF you are installing the GPU version please make sure you have following on your system:

    • CUDA® Toolkit 9.0. For details, see NVIDIA's documentation Ensure that you append the relevant Cuda pathnames to the %PATH% environment variable as described in the NVIDIA documentation.
    • The NVIDIA drivers associated with CUDA Toolkit 9.0.
    • cuDNN v7.0. For details, see NVIDIA's documentation. Note that cuDNN is typically installed in a different location from the other CUDA DLLs. Ensure that you add the directory where you installed the cuDNN DLL to your %PATH% environment variable.
    • GPU card with CUDA Compute Capability 3.0 or higher for building from source and 3.5 or higher for our binaries. See NVIDIA documentation for a list of supported GPU cards.
    0 讨论(0)
  • 2020-12-12 02:27

    you can find cudnn64_5.dll file inside "cuda\bin"[this is cudnn-8.0-windows7-x64-v5.1_4 zip extraction folder].Then copy above file into "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin". This is work for Python 3.5 bit 64 version and Windows 7 bit 64 environment

    0 讨论(0)
  • 2020-12-12 02:42

    The problem is not with platform (amd64) but with GPU drivers. You need to either install packages which runs on CPU or use that GPU ones you already installed but install also CUDA drivers.

    0 讨论(0)
提交回复
热议问题