Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install tensorflow on Windows with anaconda

I am trying to install Tensorflow on my Windows PC. Since I have already install and used Anaconda on Python (3.5), I have followed the instructions https://www.tensorflow.org/versions/r0.8/get_started/os_setup.html#anaconda-environment-installation .

After the creation of the conda environment called tensorflow, I have tested my installation with:

$ python
Import tensorflow as tf

But I got the error :

ImportError: no module named 'tensorflow'

Does anyone know what I missed?

Thank you very much!

like image 844
Valentina Avatar asked May 30 '16 09:05

Valentina


1 Answers

UPDATE: Since TensorFlow 0.12, we have published packages for Windows. You can install the CPU-only version with the following command:

C:\> pip install tensorflow

…and the GPU-accelerated version with:

C:\> pip install tensorflow-gpu

Note that you will need the 64-bit version of Python 3.5 installed for the above commands to work.


TensorFlow is not currently supported on Windows, and none of the official binary packages work on Windows. We are currently working on adding support for Windows, but this effort is in the early stages.

See the answers to this question for suggestions on how to run TensorFlow using Docker or Bash for Windows.

like image 94
mrry Avatar answered Oct 27 '22 08:10

mrry