<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 7, 2016 at 9:22 AM, Rich Shepard <span dir="ltr"><<a target="_blank" href="mailto:rshepard@appl-ecosys.com">rshepard@appl-ecosys.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
python -c "import numpy"<br>
</blockquote>
GRASS 7.2.svn<br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<br></blockquote></blockquote><div><br></div><div>I suppose this means no output. No traceback means that it works. So numpy works in the GRASS GIS session and it works outside.<br></div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
</blockquote>
<br>
  The environment variable GRASS_PYTHON is set with grass running, but not<br>
otherwise.</blockquote></div><br></div><div class="gmail_extra">That's correct I think. It is set for consistency. (You could use it to force some other Python executable.)<br><br></div><div class="gmail_extra">OK, still no clues for me. Can you run the GUI (what you get when you start or/and g.gui from command line - there should be no difference but you can check), switch to Python tab and execute:<br><br>import sys<br>print (sys.path)<br>print (sys.version)<br>import numpy<br><br></div><div class="gmail_extra">Also, you can check which Python version is used in the command line:<br><br>python --version<br><br></div><div class="gmail_extra">Finally, you can try to find where numpy actually is and compare it with what sys.path is saying.<br></div></div>