On 10.11.2014 09:05, Glynn Clements wrote:
Markus Neteler wrote:
What is the relationship of numpy's oldnumeric and GRASS 7?
It's an issue with the wx.lib.plot module in wxPython. It wants a
"numeric" module, for which it tries:
try:
import numpy.oldnumeric as _Numeric
except:
try:
import numarray as _Numeric #if numarray is used it is
renamed Numeric
except:
try:
import Numeric as _Numeric
except:
msg= """
This module requires the Numeric/numarray or NumPy
module,
which could not be imported. It probably is not
installed
(it's not part of the standard Python distribution). See
the
Numeric Python site (http://numpy.scipy.org) for
information on
downloading source or binaries."""
raise ImportError, "Numeric,numarray or NumPy not found.
\n" + msg
Essentially, it tries three options from newest to oldest. But even
the newest is old enough that it's commonly unavailable (the
oldnumeric module was removed from NumPy in version 1.9).
Code should now be using the numpy interface. Apparently wxPython has
only recently done this:
http://trac.wxwidgets.org/ticket/16590
Right, thanks for the clear explanation. Just read this post :-/.
Nikos
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev