<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On May 8, 2010, at 11:19 AM, William Kyngesburye wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On May 8, 2010, at 10:03 AM, Stuart Edwards wrote:<br><br><blockquote type="cite">On May 8, 2010, at 9:44 AM, William Kyngesburye wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">SVN updated so the Mac app starts the new python init.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I don't know about the TclTk NVIZ problem. &nbsp;I have a different one - no rule to make target anim_support.o.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><br><blockquote type="cite">Now I get the following error:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">SEsMacPro:~ stu$ '/Applications/GRASS-7.0.app/Contents/MacOS/grass.sh'; exit<br></blockquote><blockquote type="cite">Rebuilding Addon HTML manual pages index...<br></blockquote><blockquote type="cite">cp: /Applications/GRASS-7.0.app/Contents/MacOS/docs/html/grass_icon.png: No such file or directory<br></blockquote><blockquote type="cite">Rebuilding Addon menu...<br></blockquote><blockquote type="cite">Python 2.6.4 found.<br></blockquote><blockquote type="cite">arch: posix_spawnp: /opt/local/bin/pythonw2.6: Bad CPU type in executable<br></blockquote><blockquote type="cite">logout<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">[Process completed]<br></blockquote><br>That's because the startup forces Python to run in 32bit mode, because wxpython can't be built for 64bits yet (!). &nbsp;And the python you have in /opt/local (macports?) is then probably 64bit-only. &nbsp;GRASS is probably finding the macports python first because it's first in your shell PATH.<br><br>Which python did you intend to use for GRASS? &nbsp;If the macports python is 64bit only, they probably don't have wxpython at all.<br><br>-----<br></div></blockquote><br></div><div>&nbsp;Hadn't really considered which version to use ......... but obviously should. &nbsp; Since opt installs itself at the head of the PATH, it always finds that version first. &nbsp; I saw some discussion by you about specifying a GRASS_PYTHON - does that work and if so can you please provide details. &nbsp;Came across this which seems relevant to the 32 / 64 bit issue. &nbsp;</div><div><br></div><div><i><a href="http://community.activestate.com/forum/using-32-bit-python-komodo-under-snow-leopard">http://community.activestate.com/forum/using-32-bit-python-komodo-under-snow-leopard</a></i></div><div><i><br></i></div><div><i>The Python that comes with 10.6 apparently honors an environment variable called VERSIONER_PYTHON_PREFER_32_BIT. If that's set to 'yes', invoking Python from /usr/bin/python brings Python up in 32-bit mode. By default, it comes up in 64-bit mode.</i></div><div><i><br></i></div><div>Curious that I don't have any problem running the wxpython gui with GRASS 6.4</div><div><br></div><div>Stu</div><div><br></div></body></html>