Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Graphite - virtualenv
# create the virtualenv and work on it
mkvirtualenv graphite
workon graphite
cd $VIRTUAL_ENV # we are now in /home/envs/graphite/ . If you are not, you may have a problem with your virtualenv
# apparently you have to make a symlink because cairo does not work with python 2.7 and pip
# my cairo module was located on /usr/lib/pymodules/python2.7/cairo Check this path, it may change on your server.
# You can execute `locate cairo` to find out.
# if this step does not work, you will not have any graphics in graphite later
ln -s /usr/lib/pymodules/python2.7/cairo ./lib/python2.7/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.