[GRASS-user] grass64 issue with NumPy

Hello Im a new user of GRASS. Im experiencing the following issue, while trying to run Grass on OSX,
apparently NumPy is not installed, but I have built it and installed successfully.
Any help will be welcome!
Fran

GRASS 6.4.3 (nc_basic_spm_grass7):~ > wxnviz.py: This module requires the 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.

Traceback (most recent call last):

File “/opt/local/share/grass-6.4.3/etc/wxpython/wxgui.py”, line 34, in

from lmgr.frame import GMFrame

File “/opt/local/share/grass-6.4.3/etc/wxpython/lmgr/frame.py”, line 46, in

from lmgr.layertree import LayerTree, LMIcons

File “/opt/local/share/grass-6.4.3/etc/wxpython/lmgr/layertree.py”, line 37, in

from mapdisp.frame import MapFrame

File “/opt/local/share/grass-6.4.3/etc/wxpython/mapdisp/frame.py”, line 52, in

from wxplot.profile import ProfileFrame

File “/opt/local/share/grass-6.4.3/etc/wxpython/wxplot/profile.py”, line 23, in

import wx.lib.plot as plot

File “/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/lib/plot.py”, line 132, in

raise ImportError, “Numeric,numarray or NumPy not found. \n” + msg

ImportError: Numeric,numarray or NumPy not found.

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.

How did you install GRASS GIS, what is your default version of Python and
where did you install Numpy ?

- the version of KyngChaos <http://www.kyngchaos.com/software/grass&gt;
uses the Apple Python with frameworks
(/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/wxgui.py, for
example)

- All the other versions, MacPorts (GRASS in the /opt/ folder), Fink (in
/sw/) and Homebrew (in /usr/local/Cellar with symbolic links in
/usr/local/bin) use their own version of Python (in /opt/, /sw/ or
/usr/local/)

If you install numpy for the Apple Python (site-packages in
/Library/Python/2.x/site-packages), for example, it will not be recognized
by all the other Python versions.

Apparently, you use the MacPorts version of GRASS (with site-packages in
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/),
so you need to install numpy in this version of Python which was not the
case here:

ImportError: Numeric,numarray or NumPy not found.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/grass64-issue-with-NumPy-tp5149717p5149812.html
Sent from the Grass - Users mailing list archive at Nabble.com.