<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    I've repeated all the procedure [0] and now I've this error when I
    run my module:<br>
    <br>
    <i>import grass.script as grass<br>
      Traceback (most recente call last):<br>
      File "(stdin)", line 1, in (module)<br>
      ImportError: No module named grass.script</i><br>
    <br>
    I&nbsp; run Python from MSYS and I try:<br>
    <br>
    <i>import grass.script as grass<br>
      <br>
    </i>&nbsp;and I get the same error&nbsp; message<i><br>
    </i><br>
    <br>
    <br>
[0]<a class="moz-txt-link-freetext" href="http://www.mail-archive.com/grass-user@lists.osgeo.org/msg16242.html">http://www.mail-archive.com/grass-user@lists.osgeo.org/msg16242.html</a>
    <br>
    <br>
    <br>
    Il 13/12/2010 23.59, gianluca.massei ha scritto:
    <blockquote cite="mid:4D06A566.3040309@libero.it" type="cite">
      <br>
      Hy,
      <br>
      I'm using&nbsp; Grass installer and I've set GISBASE in my system path.
      I've tried this procedure without any&nbsp; results:
      <br>
<a class="moz-txt-link-freetext" href="http://www.mail-archive.com/grass-user@lists.osgeo.org/msg16242.html">http://www.mail-archive.com/grass-user@lists.osgeo.org/msg16242.html</a>
      <br>
      <br>
      Thanks for your help
      <br>
      <br>
      <br>
      Il 13/12/2010 23.50, Alex Mandel ha scritto:
      <br>
      <blockquote type="cite">On 12/13/2010 02:28 PM, gianluca.massei
        wrote:
        <br>
        <blockquote type="cite">Well, excuse me if I was not clear in
          previous message. I'll try to
          <br>
          give&nbsp; more info:
          <br>
          In grass 7 for linux my python module works fine. In
          wingrass70 I've
          <br>
          copied my module in %GISSBASE%/scripts but it doesn't works.
          <br>
          I get that message:
          <br>
          c:\Progrm Files\GRASS-70-SVN\extralibin\python.exe: can't open
          file
          <br>
          '%GISBASE%/scripts/r.mcda.roughset.py':[Errno 2] No such file
          or directory'
          <br>
          I've read some precedent post but the suggest solutions works
          for 6.4
          <br>
          and in 7.0 I've the same problem.
          <br>
          <br>
          Thanks
          <br>
          <br>
          <br>
          <br>
          Il 11/12/2010 20.24, gianluca.massei ha scritto:
          <br>
          <blockquote type="cite">I've wrote a simple python module
            working in grass 7 under linux (It's
            <br>
            only one file). Could anyone help me how can I try it under
            wingrass
            <br>
            7? Is not clear for me the install&nbsp; procedure for python
            module.
            <br>
            thanks in advance.
            <br>
          </blockquote>
        </blockquote>
        Are you sure that GISSBASE is defined in your system paths? Also
        are you
        <br>
        using the GRASS installer or the OSGeo4w installer, the OSGeo4w
        contains
        <br>
        a shell that ensures all those paths work as they should, not
        sure about
        <br>
        the regular GRASS installer.
        <br>
        <br>
        What solution did you see for 6.4? Did you try it and did it not
        work?
        <br>
        <br>
        Thanks,
        <br>
        Alex
        <br>
        <br>
        _______________________________________________
        <br>
        grass-user mailing list
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
        <br>
        <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
        <br>
        <br>
        <br>
        -----
        <br>
        Nessun virus nel messaggio.
        <br>
        Controllato da AVG - <a class="moz-txt-link-abbreviated" href="http://www.avg.com">www.avg.com</a>
        <br>
        Versione: 10.0.1170 / Database dei virus: 426/3313 -&nbsp; Data di
        rilascio: 13/12/2010
        <br>
        <br>
        <br>
      </blockquote>
      <br>
      _______________________________________________
      <br>
      grass-user mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
      <br>
      <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
      <br>
      <br>
      <br>
      -----
      <br>
      Nessun virus nel messaggio.
      <br>
      Controllato da AVG - <a class="moz-txt-link-abbreviated" href="http://www.avg.com">www.avg.com</a>
      <br>
      Versione: 10.0.1170 / Database dei virus: 426/3313 -&nbsp; Data di
      rilascio: 13/12/2010
      <br>
      <br>
      <br>
    </blockquote>
    <br>
  </body>
</html>