<div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div>I am trying to write an external standalone python script that is using grass commands. I setup my variables as below. I then run python3 in the terminal and import grass works fine. However, in Pycharm editor, it will not import for me. Any ideas of how to get around this?</div><div>Thanks<br></div><div><br></div><div>export GISBASE="$(grass76 --config path)"<br>export PATH="$PATH:$GISBASE/bin:$GISBASE/scripts"<br>export DYLD_LIBRARY_PATH="$LD_LIBRARY_PATH:$GISBASE/lib"<br>export GIS_LOCK=$$<br>export GISRC="$HOME/.grass7/rc"<br>export PYTHONPATH="$PYTHONPATH:$GISBASE/etc/python"<br><br></div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Le gach dea ghui,<br></div><div><span style="color:rgb(61,133,198)"><b><span style="background-color:rgb(255,255,255)"><i>Shane Carey</i></span></b></span></div><div><span style="color:rgb(61,133,198)"><b><span style="background-color:rgb(255,255,255)"><i>GIS and Data Solutions Consultant</i></span></b></span><br></div></div></div></div></div></div></div></div></div></div>