<div dir="ltr">On Sun, Feb 24, 2013 at 10:19 AM, Phil Hess <span dir="ltr"><<a href="mailto:macpgmr@fastermac.net" target="_blank">macpgmr@fastermac.net</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">I don't know why this path is different in QGIS than in Python launched from</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">a Terminal command line,</span></div></blockquote><div><br></div><div style>If you are talking about OS X, then `.app` bundles don't inherit environment variables from the same places Terminal apps do (i.e they don't pay attention to `~/.profile` and such). There is a good answer on StackOverflow that runs through the possible places to set environment variables:</div>
<div style><br></div><div style><a href="http://stackoverflow.com/a/4567308/135870">http://stackoverflow.com/a/4567308/135870</a><br></div><div style><br></div><div style>-Charlie</div></div></div></div>