File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/dviread.py",
line 727, in _register
assert encoding is None
AssertionError
This sounds like this issue:
There is a workaround in git commit 708c451 (patch below), which you
could apply to your local copy of dviread.
File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/dviread.py",
line 727, in _register
assert encoding is None
AssertionError