Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added instructions for running SimpleCV out of virtualenv

  • Loading branch information...
commit efe3ccbb33690c817ada9f3af82dba71a22edd12 1 parent 1effd6b
Anthony Oliver authored August 20, 2012

Showing 1 changed file with 28 additions and 1 deletion. Show diff stats Hide diff stats

  1. 29  README.markdown
29  README.markdown
Source Rendered
@@ -29,11 +29,38 @@ For more code snippets, we recommend the [SimpleCV examples website](http://exam
29 29
 The easiest way to install SimpleCV is with the packages for your distribution (Windows, Mac, Linux) included on the website (http://www.simplecv.org).  Although it is tested on many platforms there maybe scenarios where it just won't work with the package installer. Below is instructions on how to install, if you have problems please see the troubleshooting section at the end of this README file.
30 30
 
31 31
 ### Ubuntu 12.04
32  
-	sudo apt-get install ipython python-opencv python-scipy python-numpy python-pygame python-setuptools python-pip
  32
+	sudo apt-get install ipython python-opencv python-scipy python-numpy python-pygame python-setuptools python-pip 
33 33
 	sudo pip install https://github.com/ingenuitas/SimpleCV/zipball/master
34 34
 
35 35
 then just run 'simplecv' from the shell.
36 36
 
  37
+### Virtualenv
  38
+
  39
+This is how to install SimpleCV under a python virtual environment [virtualenv] (http://www.virtualenv.org).  This maybe useful in cases where you want to keep your system libraries clean and not install extra libraries.  This method has only been tested on Ubuntu 12.04, it maybe possible to port to other operating systems.
  40
+
  41
+Run the following commands:
  42
+
  43
+  sudo apt-get install ipython python-opencv python-scipy python-numpy python-pygame python-setuptools python-pip git gfortran g++ liblapack-dev libsdl1.2-dev libsmpeg-dev mercurial
  44
+  sudo pip install virtualenv
  45
+  virtualenv virtualSCV
  46
+  cd virtualSCV
  47
+  mkdir src
  48
+  cp /usr/local/lib/python2.7/dist-packages/cv* ./lib/python2.7/site-packages
  49
+  ./bin/pip install numpy
  50
+  ./bin/pip install scipy
  51
+  ./bin/pip install PIL
  52
+  ./bin/pip install ipython
  53
+  hg clone http://bitbucket.org/pygame/pygame src/pygame
  54
+  source bin/activate
  55
+  cd src/pygame
  56
+  python setup.py -setuptools install
  57
+  pip install https://github.com/ingenuitas/SimpleCV/zipball/master
  58
+  
  59
+
  60
+
  61
+
  62
+
  63
+
37 64
 ### Arch Linux
38 65
     pacman -S python2-numpy opencv2.3.1_a-4 python-pygame python2-setuptools ipython2 python2-pip
39 66
     pip install https://github.com/ingenuitas/SimpleCV/zipball/master

0 notes on commit efe3ccb

Please sign in to comment.
Something went wrong with that request. Please try again.