[GRASS-dev] New attempt to update GRASS for Mac

Michael Barton Michael.Barton at asu.edu
Fri Jul 28 11:06:15 PDT 2017


Most Mac users are running from the GUI and will not be trying to set an environmental variable from the terminal before running a command from the terminal. We need to be thinking like most Mac users.

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu















On Jul 28, 2017, at 7:51 AM, Vaclav Petras <wenzeslaus at gmail.com<mailto:wenzeslaus at gmail.com>> wrote:

On Thu, Jul 27, 2017 at 11:52 PM, Michael Barton <Michael.Barton at asu.edu<mailto:Michael.Barton at asu.edu>> wrote:
> OK. I'll put it into my .profile and see what happens. Thanks.

On Fri, Jul 28, 2017 at 12:19 AM, Michael Barton <Michael.Barton at asu.edu<mailto:Michael.Barton at asu.edu>> wrote:
>
> Tried that and it seems to be ignored too. Here is the output from a terminal in the shell (outside GRASS):
>
> Last login: Thu Jul 27 22:04:37 on ttys001
> CMB-MacBook-Pro:~ cmbarton$ echo $GRASS_PYTHON
> /Applications/anaconda/bin/python
>
> This should make anaconda python (2.7.13) the default.
>
> But here is the output from a GRASS terminal:
>
> GRASS 7.3.svn (nc_spm_08_grass7):~ > echo $GRASS_PYTHON
> python
> GRASS 7.3.svn (nc_spm_08_grass7):~ > python
> Python 2.7.10 (default, Feb  7 2017, 00:08:15)
> [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.

Don't add anything into any .profile or .bash_profile. Do it as Moritz suggests, use export right before you run the commands. (You can of course put these things in some file and then use `source` command.)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20170728/c50a29a7/attachment-0001.html>


More information about the grass-dev mailing list