Oh Gods of CentOS! Make it easy to install tensorflow!

Lots of conflicting information on how to install even the simplest (but great) CPU tensorflow in CentOS (7x latest)

Here's a very simple recipe:

When loading Centos 7 iso choose development workstation software and check all packages.

Once installed;

yum upgrade

after the upgrade and reboot enter the commands below and voila'!

yum install epel-release

yum install gcc gcc-c++ python-pip python-devel atlas atlas-devel gcc-gfortran openssl-devel libffi-devel

pip install --upgrade virtualenv

yum install python-pip

pip install --upgrade virtualenv

yum remove numpy

pip install dbus-python

pip install dogtag-pki

pip install jinja2

pip install --upgrade --force dnspython

pip install --upgrade --force pyudev

pip install --upgrade --force dnspython

pip install --force --upgrade tensorflow

virtualenv --system-site-package tensorflow


Recent Posts

Archive

Tags

No tags yet.