Matplotlib has recently released a python 3 compatible version. To install matplotlib, you need numpy.
I was following the instructions here for installing matplotlib. I tried installing numpy according to the instructions for Mac OS Lion 10.7 here (in the hope it might be similar enough), but Terminal got stuck at the first command:
$curl http://python-distribute.org/distribute_setup.py | python3
dyld: Library not loaded: @rpath/libcurl.4.dylib
Referenced from: /Library/Frameworks/Python.framework/Versions/Current/bin/curl
Reason: Incompatible library version: curl requires version 7.0.0 or later, but libcurl.4.dylib provides version 6.0.0
same for the second one (as expected):
$ curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python3
dyld: Library not loaded: @rpath/libcurl.4.dylib
Referenced from: /Library/Frameworks/Python.framework/Versions/Current/bin/curl
Reason: Incompatible library version: curl requires version 7.0.0 or later, but libcurl.4.dylib provides version 6.0.0
Any ideas for how to fix the curl error?
From this post, I found instructions to update curl.
But I was concerned about downloading a Mac-safe version, so I went to this page, scrolled down to the Mac section and chose one on the Apple website.
In the end I decided to install this version as an additional curl (ie, not replace the system curl), so here are the modified instructions:
$CFLAGS=-m64 ./configure --prefix=pathname$make$sudo make installTo run it, cd into the pathname/bin/ directory, and run: