I'm having trouble writing a plot png to disk, and it seems that my dev installation script might be the culprit, it's giving me the error: File "/nics/b/home/gsiisg/NautilusYT/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", line 180, in get_text_width_height_descent font = self._get_agg_font(prop) File "/nics/b/home/gsiisg/NautilusYT/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", line 221, in _get_agg_font font = FT2Font(str(fname)) RuntimeError: Could not open facefile /nics/b/home/gsiisg/NautilusYT/lib/python2.6/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf; Cannot_Open_Resource In the installation script on line 578 there's: if [ -e $HOME/.matplotlib/fontList.cache ] && \ ( grep -q python2.6 $HOME/.matplotlib/fontList.cache ) looking for the 2.6 stuff, even though it installed 2.7, could this be the cause of my problem? Will changing the 2.6 to 2.7 fix it? From G.S.
participants (3)
-
gsoï¼ physics.ucsd.edu
-
j s oishi
-
Matthew Turk