Created
March 27, 2013 15:30
-
-
Save jdeniau/5255111 to your computer and use it in GitHub Desktop.
Graphite - virtualenv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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