Hi,<br><br><div class="gmail_quote">On Tue, Nov 13, 2012 at 6:17 AM, kapo coulibaly <span dir="ltr"><<a href="mailto:kmcoulib@gmail.com" target="_blank">kmcoulib@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
inside /usr/local/grass-6.4.2/tools/g.html2man there is a file called g.html2man. I moved it outside and deleted the folder with the same name. After that r.basin installed without error. But when I try to run it get:<br>
<br>GRASS 6.4.2 (test):/usr/local/grass-6.4.2/tools > r.basin<br>/root/.grass6/addons/r.basin:572: Warning: 'with' will become a reserved keyword in Python 2.6<br> File "/root/.grass6/addons/r.basin", line 572<br>
with open(prefix+'_parameters.csv', 'w') as f:<br> ^<br>SyntaxError: invalid syntax</blockquote><div><br></div><div> This is due to Python 2.5.x, you need to upgrade to 2.6 in order to run r.basin.</div>
<div><br></div><div>Best regards,</div><div>m</div></div><br clear="all"><div><br></div>-- <br><span style="color:rgb(102,102,102)">Margherita DI LEO <br></span><div><span style="color:rgb(102,102,102)">Postdoctoral Researcher</span><span style="color:rgb(102,102,102)"> <br>
European Commission - DG JRC <br>
Forest Resources and Climate </span><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"" lang="EN-GB"></span><span style="color:rgb(102,102,102)"> <br></span><span style="color:rgb(102,102,102)">I-21020 Ispra (VA) - Italy - TP 261 </span><br>
<span style="color:rgb(102,102,102)"> <br>Tel. +39 0332 78 3600 <br><a href="mailto:margherita.di-leo@jrc.ec.europa.eu" target="_blank">margherita.di-leo@jrc.ec.europa.eu</a></span><font color="#666666"><br></font><span style="color:rgb(102,102,102)"></span><br>
</div><br>