Matplotlib (python)

Recently I’ve tried to install matplotlib but when building it a dreamhost process kills the install for what I can tell is too much RAM usage.

Has anyone been successful in installing matplotlib on their dreamhost account? If so, how did you do it and what version are you using.