[GRASS-user] Can I just get rid of Wish?

William Kyngesburye woklist at kyngchaos.com
Tue Jun 9 16:19:33 EDT 2009

On Jun 9, 2009, at 2:34 PM, Michael Margolis wrote:

> My OS version is 10.5.7.  I don't know how to tell for sure if I got  
> the
> right build, but I think so. I followed the link entitled MacOSX from
> http://grass.itc.it/download/index.php, and after installing some  
> frameworks
> went on to http://www.kyngchaos.com/software:grass/. I recall going  
> over to
> the Apple site to find out whether I was Leopard or Tiger, so I  
> probably got
> that right.
10.5.7 is Leopard.  The readmes with the GRASS installers say 10.5  
(Leopard) and 10.4 (Tiger), so you should be able to figure it out  
(though Mac users tend to not read readmes ;)

> Just today I installed a new Python 2.6.2, which seemed to make no
> difference.

I don't know about the compatibility of the GUI with 2.6, one of the  
GUI developers could better answer that.  But the wxpython that it  
uses has binary components that are compiled for a specific version of  
Python and may not work as expected for another version.  The wxPython  
that I bundle expects Python 2.5.x.  wx is usually in the python path  
of the python it's good for, but my bundled wx will be seen by any  

Normally GRASS will use the first Python it finds in your shell PATH,  
which will now be 2.6.2.  you can override this by setting  
GRASS_PYTHON in your shell, and to make this work with the OSX app  
startup, it needs to be set in your ~/.bash_profile:

export GRASS_PYTHON=/usr/bin/python

I should add this to my binaries since they expect a 2.5 version and  
many users might have installed 2.6 or even 3.0.

>> Hmmm, what OSX version?  Did you install the GRASS build matching  
>> your
>> system version? Which GRASS installer version (ie: is it the latest
>> rc4-1)?  If OSX Leopard (10.5), did you install Python (it's OK not
>> to, since the system Python is reasonably recent).
>> I have seen problems getting the GUI to start automatically vs
>> starting it manually with g.gui, though the wxpython GUI seems to  
>> work
>> now on startup.

William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>

"I ache, therefore I am.  Or in my case - I am, therefore I ache."

- Marvin

More information about the grass-user mailing list