On Wed, Aug 14, 2019 at 10:34 PM Rich Shepard <rshep...@appl-ecosys.com> wrote: > On Wed, 14 Aug 2019, Markus Neteler wrote: > > > You try to use Python 2 while we require Python 3 unless you > > search/replace the shebang using the find script posted some days ago. > > Markus, > > Do you recall the thread with that script? I'll see if I can find it in the > mail list archive.
If you want to enforce Python 2, run find -name '*.py' | xargs sed -i 's,#!/usr/bin/env python3,#!/usr/bin/env python2,' && \ sed -i 's,python3,python2,' include/Make/Platform.make.in See: https://lists.osgeo.org/pipermail/grass-dev/2019-August/093052.html But it is definitely NOT recommended. Better update your machine to Python 3. Markus _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user