TeeKay
TeeKay

Reputation: 1065

Not able to install tensorflow for Python 2.7 in windows 7

I am aware that tensorflow is available for Python 3.5 and above but is there any possibility that tensorflow can be installed for python 2.7 using cmd in windows 7?

Upvotes: 3

Views: 1940

Answers (1)

Jonas Adler
Jonas Adler

Reputation: 10799

Yes, but you have to do quite some work. Specifically you need to build tensorflow yourself and Installing TensorFlow from Sources states:

We don't officially support building TensorFlow on Windows; however, you may try to build TensorFlow on Windows if you don't mind using the highly experimental Bazel on Windows or TensorFlow CMake build.

I would highly recommend you try to use python 3.5 instead if at all possible. If you use conda, you could create a new conda environment with

conda create -n tensorflow python=3.5 

and install tensorflow inside that environment using

activate tensorflow
pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-1.2.1-cp35-cp35m-win_amd64.whl

Upvotes: 1

Related Questions