title: Unable to install matplotlib on OSX 10.8.4 with VirtualEnv
body: <p>I tried every single link that is available on the web but still I am getting following error: </p>
  
  <pre><code>Edit setup.cfg to change the build options
  
  BUILDING MATPLOTLIB
              matplotlib: yes [1.4.x]
                  python: yes [2.7.5 (default, Jul 28 2013, 07:27:04)  [GCC
                          4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)]]
                platform: yes [darwin]
  
  REQUIRED DEPENDENCIES AND EXTENSIONS
                   numpy: yes [version 1.7.1]
                dateutil: yes [dateutil was not found. It is required for date
                          axis support. pip/easy_install may attempt to
                          install it after matplotlib.]
                 tornado: yes [tornado was not found. It is required for the
                          WebAgg backend. pip/easy_install may attempt to
                          install it after matplotlib.]
               pyparsing: yes [pyparsing was not found. It is required for
                          mathtext support. pip/easy_install may attempt to
                          install it after matplotlib.]
                   pycxx: yes [Couldn't import.  Using local copy.]
                  libagg: yes [pkg-config information for 'libagg' could not
                          be found. Using local copy.]
                freetype: no  [pkg-config information for 'freetype2' could
                          not be found.]
                     png: yes [pkg-config information for 'libpng' could not
                          be found. Using unknown version.]
  
  OPTIONAL SUBPACKAGES
             sample_data: yes [installing]
                toolkits: yes [installing]
                   tests: yes [nose 0.11.1 or later is required to run the
                          matplotlib test suite]
  
  OPTIONAL BACKEND EXTENSIONS
                  macosx: yes [darwin]
                  qt4agg: no  [PyQt4 not found]
                 gtk3agg: no  [Requires pygobject to be installed.]
               gtk3cairo: no  [Requires cairo to be installed.]
                  gtkagg: no  [Requires pygtk]
                   tkagg: yes [version 81008]
                   wxagg: no  [requires wxPython]
                     gtk: no  [Requires pygtk]
                     agg: yes [installing]
                   cairo: no  [cairo not found]
               windowing: no  [Microsoft Windows only]
  
  OPTIONAL LATEX DEPENDENCIES
                  dvipng: no
             ghostscript: no
                   latex: no
                 pdftops: no
  ============================================================================
                          * The following required packages can not be built:
                          * freetype
  </code></pre>
  
  <p>Here are the things that I tried:</p>
  
  <p>I successfully install <code>numpy</code> and <code>scipy</code> in my native python environment. Since I was not able to install <code>matplotlib</code> I decided to switch to <code>virtualenv</code>.</p>
  
  <p>Here are the links:</p>
  
  <ul>
  <li>Instructions from <a href="http://matplotlib.org/faq/installing_faq.html#install-from-git" rel="nofollow noreferrer">matplotlib.org</a> </li>
  <li>Blog post from <a href="http://www.thisisthegreenroom.com/2011/installing-python-numpy-scipy-matplotlib-and-ipython-on-lion/" rel="nofollow noreferrer">this is the green room</a></li>
  <li><a href="https://stackoverflow.com/questions/6800488/installing-matplotlib-in-mac-osx-lion">stackoverflow</a></li>
  </ul>
  
  <p>Every single option ended up with the above issue. Any help would be great. </p>