[GRASS-dev] [GRASS GIS] #1945: wingrass: Command Line can't find grass.python libs
GRASS GIS
trac at osgeo.org
Tue Apr 23 06:20:13 PDT 2013
#1945: wingrass: Command Line can't find grass.python libs
----------------------+-----------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: defect | Status: new
Priority: critical | Milestone: 6.4.3
Component: Python | Version: svn-develbranch6
Keywords: wingrass | Platform: MSWindows XP
Cpu: x86-32 |
----------------------+-----------------------------------------------------
Comment(by hamish):
Replying to [comment:2 hamish]:
> ... %PYTHONHOME% is set but %PYTHONPATH% is empty.
try for a fix for PYTHONPATH in devbr6 r55955. please test.
> Slightly unrelated, but I'd also note that running 'python' from the
GRASS+MSYS
> prompt just freezes the window, you need to click the window's "X" and
abandon
> the session. I notice that grass65svn.sh contains several path variables
(incl.
> $PYTHONHOME) which are using C:\... paths instead of g.dirsep'd /c/...
versions.
if it helps, small path fixer function added to init.sh, copied here:
{{{
dos2unix_path()
{
echo "$1" | sed -e 's|^\([A-Za-z]\):|/\1|' -e 's|\\|/|g'
}
}}}
Hamish
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1945#comment:3>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list