[GRASS-user] not able to import and use pygrass

Moritz Lennert mlennert at club.worldonline.be
Mon Jun 29 08:42:18 PDT 2015


On 29/06/15 16:57, Gra wrote:
> Hi I compiled Grass 7.0 (with OpenMP) on a CENTOS 7 OS.
>
> everything works properly, but I'm not able to use PYGRASS
>
> here is my first part of the codes if I add import pygrass I have the error:
> *
>      import pygrass
>
> ImportError: No module named pygrass

try

import grass.pygrass

pygrass is on the same level as script which you seem to be able to 
import successfully.

Moritz



More information about the grass-user mailing list