I have Ubuntu 16.04 64 bit and python 2.7.12 on my system. I have installed GRASS GIS 7 from the Ubuntu software support (I thing not is the better choose for install).
Now I want to take GRASS Python API to run standalone Python scripts.
How can I install Python GRASS API(pygrass) to work in the Ubuntu, any idea?
On the Windows must be define paths and work, on LINUX I can't find any tutorial for that.
the script test
import os
import sys
import subprocess
grass70='/usr/lib/grass70'
import grass.script as gscript
error :
no module name grass.script

