[GRASS-dev] Re: [GRASS GIS] #932: Wingrass7 - ImportError: No
module named grass - Fix PYTHONPATH?
GRASS GIS
trac at osgeo.org
Sat Feb 13 22:11:14 EST 2010
#932: Wingrass7 - ImportError: No module named grass - Fix PYTHONPATH?
------------------------------+---------------------------------------------
Reporter: hellik | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: default | Version: svn-trunk
Resolution: | Keywords:
Platform: MSWindows Vista | Cpu: x86-32
------------------------------+---------------------------------------------
Comment (by glynn):
Replying to [ticket:932 hellik]:
> so where should this change integrated directly in source for working
wingrass7 out of the box?
set_paths in lib/init/functions.sh already sets PYTHONPATH, provided that
it isn't already set.
Python itself is going to expect PYTHONPATH to be in native Windows
format. However, MSys may "fix" environment variables when invoking non-
MSys programs.
If this is an OSGeo4W-specific issue, it should be dealt with as such.
Nothing in the GRASS source tree should be hard-coding OSGeo4W-specific
settings.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/932#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list