Hi Ahmadou, On Thu, May 9, 2013 at 8:19 AM, Ahmadou Dicko <[email protected]> wrote: > I moved from Debian to ArchLinux and used to use GRASS 7 in Debian. > The main difference / problem when you want to install from source is > Python. > > In ArchLinux the default is Python is Python 3, so if you want to build > your own GRASS from scratch you have to use some tricks and tell GRASS to > use Python 2.
I'm using virtualenv to isolate python2: $ virtualenv --system-site-packages -p python2.7 env-python2 then I have to activate the virtualenv with: $ source ~/envs/env-python2/bin/activate I just put an alias on .bashrc: alias activate_python2='source ~/envs/env-python2/bin/activate' alias grass70='activate_python2 && python2 ~/src/gis/grass/grass_trunk/bin.x86_64-unknown-linux-gnu/grass70 therefore before compile grass I have to: $ activate_python2 $ make > If someone is interested I can post how I succeed to build GRASS 7 in Arch I'm curious how do you solve it? may be there is a best way... :-) Best regards Pietro _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
