Hi Colin

I will give a look on all these tips.

Thanks a lot.

milton

2009/4/29 Colin Nielsen <colin.niel...@gmail.com>

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

Reply via email to