On Fri, Feb 20, 2015 at 2:51 PM, Vaclav Petras <[email protected]> wrote:
>
> On Fri, Feb 20, 2015 at 8:25 AM, Markus Neteler <[email protected]> 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.
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?
Markus
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev