TensorFlow install using virtualenv on ubuntu

TensorFlow install using virtualenv on ubuntu environment.

The method is same with pip install.

But this post is helpful when you forgot virtualenv commend.

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

2. make folder for your own virtual space
$ virtualenv --system-site-packages ~/tensorflow

3. run virtualenv
$ source ~/tensorflow/bin/activate  # If using

4. exit virtualenv
(tensorflow)$ deactivate

5. install tensorflow
this state is that running virtualenv step 3.

# Ubuntu/Linux 64-bit, CPU only:
(tensorflow)$ pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.7.1-cp34-none-linux_x86_64.whl


Popular posts from this blog

OpenCV Stitching example (Stitcher class, Panorama)

(OpenCV Study) Background subtractor MOG, MOG2, GMG example source code (BackgroundSubtractorMOG, BackgroundSubtractorMOG2, BackgroundSubtractorGMG)

Example source code of extract HOG feature from images, save descriptor values to xml file, using opencv (using HOGDescriptor )

Real-time N camera stitching Class.

8 point algorithm (Matlab source code) / The method to get the Fundamental Matrix and the Essential matrix

Optical Flow sample source code using OpenCV

Video Stabilization example source code, (using cvFindHomography, cvWarpPerspective functions in openCV)

(OpenCV Study) calcOpticalFlowFarneback example source code ( dense optical flow )

yuv422(YUYV) to RGB and RGB to yuv422(YUYV), (Using OpenCV and TBB)

OpenCV Drawing Example, (line, circle, rectangle, ellipse, polyline, fillConvexPoly, putText, drawContours)