<html>
  <head>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Thanks! It's works! I have wrong the
      PATH variable defined. This are my definitions in .bashrc:<br>
      <br>
      export GISBASE="/usr/lib/grass64"<br>
      #export PATH="$PATH:$GISBASE/bin:$GISBASE/script:$GISBASE/lib" #
      wrong!!!<br>
      export PATH="$PATH:$GISBASE/bin:$GISBASE/scripts"<br>
      export PYTHONPATH="${PYTHONPATH}:$GISBASE/etc/python/"<br>
      export PYTHONPATH="${PYTHONPATH}:$GISBASE/etc/python/grass"<br>
      export PYTHONPATH="${PYTHONPATH}:$GISBASE/etc/python/grass/script"<br>
      export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$GISBASE/lib"<br>
      export GIS_LOCK=$$<br>
      export GISRC="$HOME/.grassrc6"<br>
      <br>
      <br>
      <div class="moz-signature"><b>Andrés Silva<br>
          <br>
        </b></div>
      On 30/08/12 14:13, Markus Neteler wrote:<br>
    </div>
    <blockquote class=" cite"
id="mid_CALFmHhsfK0tdEQ_Tb_ezND8drwuibK_PT3bGO4r4_PiKnPiNdw_mail_gmail_com"
cite="mid:CALFmHhsfK0tdEQ_Tb+ezND8drwuibK_PT3bGO4r4_PiKnPiNdw@mail.gmail.com"
      type="cite">
      <pre wrap="">On Thu, Aug 30, 2012 at 6:31 PM, Andrés Silva <a class="moz-txt-link-rfc2396E" href="mailto:andres.silva.m@gmail.com"><andres.silva.m@gmail.com></a> wrote:
</pre>
      <blockquote class=" cite" id="Cite_0" type="cite">
        <pre wrap="">Hi everyone!

I am trying to wrote a Python Script for importing CSV files to GRASS GIS
without start GRASS.


But I am getting a OSError:
</pre>
      </blockquote>
      <pre wrap="">Did you check this section about setting the right variables?

<a class="moz-txt-link-freetext" href="http://grass.osgeo.org/wiki/GRASS_and_Python#Creating_Python_scripts_that_call_GRASS_functionality_from_outside">http://grass.osgeo.org/wiki/GRASS_and_Python#Creating_Python_scripts_that_call_GRASS_functionality_from_outside</a>

best,

Markus
</pre>
    </blockquote>
    <br>
    <br>
  </body>
</html>