I am trying to migrate from Matlab to Python/Numpy/Scipy. I have explored
a number of alternatives, including an excursion through octave, and have
now found the Spyder IDE obtained via Anaconda to my liking generally.
However, in working through a simple Numpy tutorial, I keep getting errors
of the form:
/Users/jamesrussell/anaconda/lib/python2.7/site-packages/IPython/core/formatters.py:239:
FormatterWarning: Exception in image/png formatter:
\begin{pmatrix}2, & 3\end{pmatrix}
^
Unknown symbol: \begin (at char 0), (line:1, col:1)
FormatterWarning,
when executing simple commands like b.shape after defining b as a numpy
array. On issuing the same command again, the warning is not issued.
I suspect that in traipsing through multiple installations of related
approaches, involving octave, fink, XCode, Enthought, I've managed to get
some wires crossed. Following a related thread here, I've done 'sudo find
/ -name "png*.h"' and removed what appeared to be candidate conflicts,
restarted my computer (running MacOSX 10.10.1 (Yosemite)) and re-installed
Python 2.7 and the related bits for scientific computing using Anaconda. I
still get the error. One thing I haven't removed is Enthought Canopy,
which I believe has a Python 3.x installation said to be compatible
(non-interfering) with Python 2.x installations.
This is all really complex. I just want to get on to some scientific
computing. Any suggestion for how to get my machine to a clean state for
Python/Numpy/Scipy/Spyder?
Thanks,
Jim
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.