[GRASS-dev] wxpython/iclass fails to compile, missing numpy.oldnumeric
nik at nikosalexandris.net
Sun Nov 9 23:23:51 PST 2014
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:
> import numpy.oldnumeric as _Numeric
> import numarray as _Numeric #if numarray is used it is
> renamed Numeric
> import Numeric as _Numeric
> msg= """
> This module requires the Numeric/numarray or NumPy
> which could not be imported. It probably is not
> (it's not part of the standard Python distribution). See
> 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:
Right, thanks for the clear explanation. Just read this post :-/.
More information about the grass-dev