Another option is to use virtualenvwrapper to easily create and apply virtual environments. For example, following this documentation , start with the installation:
sudo pip install virtualenvwrapper
Open the .bashrc settings .bashrc , for example, run gedit .bashrc and add the following lines to the end:
export WORKON_HOME=$HOME/.virtualenvs export PROJECT_HOME=$HOME/Devel source /usr/local/bin/virtualenvwrapper.sh
Reload the terminal window, and then you can create your own virtual environment, for example, name it "test":
mkvirtualenv test
Now the test is a virtual environment, and you are in it (ie test "activated" at the moment). To put GraphLab in test ,
pip install graphlab-create
Similarly, you can install other python tools in test with pip , and any python program launched from test will only be able to see the python toolset that are installed here.
zkurtz
source share