Engine44
Engine44

Reputation: 69

Trying to install Tensorflow in Anaconda on my PC

I am in the process of installing Tensorflow in Anaconda on my PC running Windows 10, GTX970, Visual Studio 2015 Community. As I understand, the GPU version of Tensorflow is now available for Windows.

I successfully installed the latest Anaconda with Python 3.6, 64 bit.

I installed Visual Studio 2015 Community.

I installed CUDA 8.0 following the CUDA instructions.

I created a second environment (tensorflowgpu) with conda. I installed Python 3.5.3 in that environment. I activated that environment.

I tried to install Tensorflow with this command: pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-1.0.0-cp35-cp35m-win_x86_64.whl

I got the following error message: tensorflow_gpu-1.0.0-cp35-cp35m-win_x86_64.whl is not a supported wheel on this platform.

There are several places I could check for problems:

  1. Verify that CUDA was a good download
  2. Check environment variables (cuDNN, etc.)
  3. Is environment set up properly?
  4. Should I be using Python 3.5 instead of 3.5.3?
  5. Something else

Does the error message suggest where I should begin? Thanks.

Upvotes: 0

Views: 521

Answers (2)

Gautam Mistry
Gautam Mistry

Reputation: 97

I downloaded nightlybuild to my hard disk and

pip install --upgrade C:\tensorflow_gpu-1.0.0rc2-cp35-cp35m-win_amd64.whl

works for me.

Upvotes: 0

mrry
mrry

Reputation: 126184

The TensorFlow installation documentation currently has the incorrect URL for the Windows PIP packages. Instead of https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-1.0.0-cp35-cp35m-win_x86_64.whl (which refers to a non-existent file), use https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-1.0.0-cp35-cp35m-win_amd64.whl (change x86_64 to amd64).

Upvotes: 1

Related Questions