Good day to everyone.

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. When I ran GRASS, I encountered a warning telling me:

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.

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.

Thank you.

Regards,

Ben Hur

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

wrote:

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