[GRASS-user] grass64 issue with NumPy

gene martin.laloux at gmail.com
Sun Jul 6 01:08:11 PDT 2014


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>   
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.


More information about the grass-user mailing list