[GRASS-dev] GRASS 7.0.3 and Numpy 1.10 (or Numpy > 1.8)

Vaclav Petras wenzeslaus at gmail.com
Thu Mar 24 07:57:13 PDT 2016

On Thu, Mar 24, 2016 at 8:36 AM, Ben Hur Pintor <benhur.07b at gmail.com>

> I use GRASS for most of my work involving solar radiation modelling using
> r.sun. I usually work on Ubuntu 14.04 or OSGeoLive 9.0. A few days ago, I
> updated the numpy installations of my system to the latest version which is
> 1.10.
> ...
I looked around in Google and found a solution that required me to
> downgrade my numpy installation back to 1.8. It said that the subpackage
> numpy.oldnumeric which is needed by GRASS is only shipped with numpy up to
> version 1.8 (see:
> http://gis.stackexchange.com/questions/138204/trouble-importing-numpy-in-grass-architecture
> )
> So my questions are:
> (1) Will upgrading my system numpy to 1.10 really affect the computations
> by GRASS?
> (2) Will GRASS eventually support/need numpy 1.10 or is the dependency on
> numpy.oldnumeric permanent?
> (3) Are there any other solutions to the problem above aside from keeping
> the system's numpy at 1.8?
> I know that I can always use virtualenvs in order to install multiple
> versions of numpy on my system so I can have 1.8 for GRASS as my main
> version and have virtualenvs with later numpy versions for other purposes.

numpy.oldnumeric is not used by GRASS directly. According to an email from
Glynn, it is used by wx.lib.plot. There is not much GRASS can do about
this. Basically wxPython on your system is not new enough, the
numpy.oldnumeric dependency was removed just recently. [1]

[1] https://lists.osgeo.org/pipermail/grass-dev/2014-November/071713.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20160324/5a516098/attachment.html>

More information about the grass-dev mailing list