Custom Search

SUBSCRIBE

SUBSCRIBE : 300 + Free Video Tutorials Programming (Python, golang, Julia), DevOps

Tuesday, May 23, 2017

How to Install TensorFlow on Ubuntu 17.04 16.04

1)
Install pip and virtualenv.


$ sudo apt-get install python-pip python-dev python-virtualenv

2)
Create a virtualenv environment.


$ virtualenv --system-site-packages myvenv

3)
Activate the virtualenv environment


$ source myvenv/bin/activate

4)
Install TensorFlow in the active virtualenv environment


$ pip install --upgrade tensorflow

5)
Test

$ python
import tensorflow

No comments:

Post a Comment