Installing Tensorflow

tensorflow

I don’t want this blog to be a “tutorial blog” but Installing Tensorflow on Windows 10 x64 machine was difficult than anticipated.

For Tensorflow you require Python 3 and not 2.

my biggest mistake was installing python 32 bit. I went on python’s Homepage and downloaded python 3.6.1. If you click on Download Python 3.6.1 you will download 32 bit version or at least that’s what happened with me.

Go here and look for the latest version with Windows x86-64 executable installer for 64 bit windows machine.

Install it.
Set environmental Variables [The same way we do for jdk ]

As finding correct wheel for your machine could be difficult Here’s the one for Windows x64 from my Git
Don’t forget to extract Numpy as I have archived before uploading to it to git.

wheel is a ZIP-format archive with a specially formatted filename and the .whl extension. It is designed to contain all the files for a PEP 376 compatible install in a way that is very close to the on-disk format.

You can also download it from http://www.lfd.uci.edu/~gohlke/pythonlibs/

Open Cmd prompt where you have downloaded wheels

pip3 install scipy-0.19.0-cp36-cp36m-win_amd64.whl
pip3 install numpy-1.13.0+mkl-cp36-cp36m-win_amd64.whl
pip3 install tensorflow-1.1.0-cp36-cp36m-win_amd64.whl
pip3 install scikit_learn-0.18.1-cp36-cp36m-win_amd64.whl
pip3 install --upgrade tensorflow

To make sure everything is installed successfully run this Versions.py in Python.
If you get any error just install the respective wheel with

pip3 install xxxxx

If I’m going for long walks I will require a proper IDE. so I have downloaded Pycharm community edition from here

That’s about it.
I think I’m ready for some real shit!

One Reply to “Installing Tensorflow”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s