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

Vaclav Petras wenzeslaus at gmail.com
Fri Jul 28 06:51:47 PDT 2017


On Thu, Jul 27, 2017 at 11:52 PM, Michael Barton <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>
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/60207c68/attachment.html>


More information about the grass-dev mailing list