<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 27, 2017 at 11:13 PM, Michael Barton <span dir="ltr"><<a href="mailto:Michael.Barton@asu.edu" target="_blank">Michael.Barton@asu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div style="overflow-wrap: break-word;">
I don't remember the exact wording. I had set up a conda virtual environment to force GRASS to compile and run with Anaconda Python and wxPython 4. When I launched GRASS (trunk), I got an error message that it would only run with a system Python. I thought
 that is weird. 
<div><br>
</div>
<div>Anyway, I tried setting GRASS_PYTHON to no avail. See below:</div>
<div><br>
</div>
<div> g.gisenv get=GRASS_PYTHON<br>
"/Applications/anaconda/bin/<wbr>python"GRASS 7.3.svn (nc_spm_08_grass7):~ > python<br>
Python 2.7.10 (default, Feb  7 2017, 00:08:15) <br>
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin<br>
Type "help", "copyright", "credits" or "license" for more information.</div>
<div><br>
</div>
<div>GRASS_PYTHON, is set, but it is still using system Python 2.7.10 instead of Anaconda Python 2.7.13</div>
<div><br></div></div></blockquote><div><br><br>GRASS_PYTHON is actually an environmental variable (system driven, not by GRASS) , so you need to use:<br><br></div><div>export GRASS_PYTHON=/.../python  # set value<br></div><div>echo $GRASS_PYTHON  # get value<br></div><div><br></div><div>g.setenv changes the GRASS (environment) variables (aka "GIS env" or "GRASS variables").<br></div><div><br><a href="https://grass.osgeo.org/grass72/manuals/variables.html">https://grass.osgeo.org/grass72/manuals/variables.html</a><br><a href="https://grass.osgeo.org/grass72/manuals/g.gisenv.html">https://grass.osgeo.org/grass72/manuals/g.gisenv.html</a><br></div></div></div></div>