<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 29, 2015 at 11:42 AM, Moritz Lennert <span dir="ltr"><<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On 29/06/15 16:57, Gra wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi I compiled Grass 7.0 (with OpenMP) on a CENTOS 7 OS.<br>
<br>
everything works properly, but I'm not able to use PYGRASS<br>
<br>
here is my first part of the codes if I add import pygrass I have the error:<br>
*<br>
     import pygrass<br>
<br>
ImportError: No module named pygrass<br>
</blockquote>
<br></span>
try<br>
<br>
import grass.pygrass<br>
<br>
pygrass is on the same level as script which you seem to be able to import successfully.<br></blockquote><div><br></div><div>I fixed the documentation in:<br></div><div><br><a href="https://trac.osgeo.org/grass/changeset/65526">https://trac.osgeo.org/grass/changeset/65526</a><br><br></div><div>When backported and updated online, it will be visible at:<br><br><a href="http://grass.osgeo.org/grass70/manuals/libpython/pygrass_modules.html">http://grass.osgeo.org/grass70/manuals/libpython/pygrass_modules.html</a><br></div><div><br></div><div>The source code and its layout (which influences resulting package layout) can be browsed here (lib/python directory becomes `grass` package):<br><br><a href="https://trac.osgeo.org/grass/browser/grass/trunk/lib/python/">https://trac.osgeo.org/grass/browser/grass/trunk/lib/python/</a><br></div><div><br></div><div>Reviews of documentation are welcome, patches accepted.<br></div><div><br></div><div>Vaclav<br></div><br></div></div></div>