On Fri, Feb 20, 2015 at 9:26 AM, Markus Neteler <nete...@osgeo.org> wrote:
> On Fri, Feb 20, 2015 at 2:51 PM, Vaclav Petras <wenzesl...@gmail.com> > wrote: > > > > On Fri, Feb 20, 2015 at 8:25 AM, Markus Neteler <nete...@osgeo.org> > wrote: > >> > >> [neteler@pgis_north ]$ alias python=python3.4 > >> > >> [neteler@pgis_north ]$ python --version > >> Python 3.4.1 > > > > I thought alias works just for command line but the processes, e.g. > scripts, > > does not get them. > > I refer to this: $ echo "echo Hello." > test.sh $ chmod u+x test.sh $ alias echo='echo "MESSAGE: "' $ echo Hello MESSAGE: Hello $ ./test.sh Hello. > Combined attempt: > > [neteler@pgis_north ]$ alias python=python3.4 > [neteler@pgis_north ]$ export GRASS_PYTHON=python3.4 > [neteler@pgis_north ]$ grass71 > Cleaning up temporary files... > Starting GRASS GIS... > ... > > GRASS 7.1.svn (nc_spm_08_grass7):~ > echo $GRASS_PYTHON > python3.4 > > > GRASS 7.1.svn (nc_spm_08_grass7):~ > v.rast.stats > File > "/home/neteler/software/grass71/dist.x86_64-unknown-linux-gnu/gui/wxpython/gui_core/forms.py", > line 2375 > raise gcmd.GException, _("Unable to parse command '%s'") % ' > '.join(cmd) > ^ > SyntaxError: invalid syntax > > Did you refer to this problem, Vaclav? > > No, but I guess that especially GUI is not Python 3 ready as well as wxPython. Vaclav > Markus >
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev