Blog‎ > ‎

Installing Tensorflow on Windows

posted Nov 7, 2017, 12:17 AM by MUHAMMAD MUN`IM AHMAD ZABIDI   [ updated Nov 7, 2017, 12:17 AM ]
  • Install Anaconda.
Follow instructions at https://www.continuum.io/downloads
  • Create a conda environment.
C:> conda create -n tensorflow python=3.5
  • Activate the conda environment and install TensorFlow in it.
C:> activate tensorflow
(tensorflow) C: > # Your prompt should change
  • After the install you will activate the conda environment each time you want to use TensorFlow.

(tensorflow) C: >conda install -c conda-forge tensorflow-gpu
Fetching package metadata ...............
Solving package specifications: .

Package plan for installation in environment C:\Users\mun3im\Anaconda2\envs\tensorflow:

The following NEW packages will be INSTALLED:

    cudatoolkit:    8.0-3
    cudnn:          6.0-0
    icc_rt:         2017.0.4-h97af966_0
    intel-openmp:   2018.0.0-hcd89f80_7
    mkl:            2018.0.0-h36b65af_4
    numpy:          1.12.1-py35h02c1717_1
    protobuf:       3.4.0-py35_vc14_1     conda-forge [vc14]
    six:            1.11.0-py35_1         conda-forge
    tensorflow-gpu: 1.1.0-np112py35_0
    werkzeug:       0.12.2-py_1           conda-forge
    zlib:           1.2.11-vc14_0         conda-forge [vc14]

The following packages will be UPDATED:

    vs2015_runtime: 14.0.25123-hd4c4e62_2             --> 14.0.25420-0 conda-forge

Proceed ([y]/n)?

cudatoolkit-8.  43% |#############                  | ETA:  0:14:11 222.81 kB/s

Comments