<div>Hi Colin</div>
<div> </div>
<div>I will give a look on all these tips.</div>
<div> </div>
<div>Thanks a lot.</div>
<div> </div>
<div>milton<br><br></div>
<div class="gmail_quote">2009/4/29 Colin Nielsen <span dir="ltr"><<a href="mailto:colin.nielsen@gmail.com">colin.nielsen@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Milton,<br>This is a common error I have come across, and shouldn't be a problem<br>with your Python installation. It is just a question of getting<br>
PYTHONPATH and possibly PYTHONHOME (Which needs to be in a windows<br>path format) into the right format.<br><br>For example, the following has been added to the native wingrass<br>installer's version of the "grass64" startup script. Make sure to<br>
adjust the paths to your computer's locations.<br><br># Set the PYTHONPATH variable<br>PYTHONPATH="$GISBASE/etc/python:$GISBASE/Python25:$PYTHONPATH"<br>export PYTHONPATH<br>PYTHONHOME="C:\GRASS-6-SVN\Python25"<br>
export PYTHONHOME<br><br>Also, check <a href="http://trac.osgeo.org/grass/wiki/CompileOnWindows#Usage" target="_blank">http://trac.osgeo.org/grass/wiki/CompileOnWindows#Usage</a><br>for details on how to get Python running under msys on windows.<br>
<br>Note: even with these adjustments, wxpython still can't display maps<br>on grass-6.5.svn or grass-7.0.svn<br><br>-Colin<br>
<div>
<div></div>
<div class="h5"><br>On Wed, Apr 29, 2009 at 11:44 AM, Milton Cezar Ribeiro<br><<a href="mailto:miltinho.astronauta@gmail.com">miltinho.astronauta@gmail.com</a>> wrote:<br>> oops again:<br>><br>> " But if I go to a DOS windows (using cmd)"<br>
><br>> 2009/4/29 Milton Cezar Ribeiro <<a href="mailto:miltinho.astronauta@gmail.com">miltinho.astronauta@gmail.com</a>><br>>><br>>> Hi Glym,<br>>><br>>> But if you go to a DOS windows (using cmd)<br>
>> type python (it starts python 2.6)<br>>> and try import sys, it works fine on text/DOS mode?<br>>> By the way, the pythopath was included as windows environment variable.<br>>><br>>> Any suggestion?<br>
>> miltinho<br>>> 2009/4/29 Glynn Clements <<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>><br>>>><br>>>> Milton Cezar Ribeiro wrote:<br>>>><br>>>> > Thanks for the reply. I have tryed on two ways, both not work for me<br>
>>> > (under<br>>>> > windows vista).<br>>>><br>>>> > 'import site' failed; use -v for traceback Traceback (most recent call<br>>>> > last):<br>>>> > File "c:/OSGeo4W/apps/grass/grass-6.5.svn/etc/wxpython/gis_set.py",<br>
>>> > line<br>>>> > 23, in <module><br>>>> > import os<br>>>> > ImportError: No module named os<br>>>><br>>>> This indicates that your Python installation is borked; it can't find<br>
>>> its standard library modules.<br>>>><br>>>> --<br>>>> Glynn Clements <<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>><br>>><br>><br>><br></div>
</div>> _______________________________________________<br>> grass-user mailing list<br>> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> <a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
><br>><br></blockquote></div><br>