I’m getting a bunch of errors trying to compile GRASS master right now and they all seem to be calling for python3. Has this become the default as of yesterday or today?
Python 2.7 is still the default on the Mac and I still have not been able to compile a working Python3 version. Currently getting ctype errors.
Michael
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University
I'm getting a bunch of errors trying to compile GRASS master right now and
they all seem to be calling for python3. Has this become the default as of
yesterday or today?
yes, see [1]:
[GRASS-git] [OSGeo/grass] be0e59: change Python shebang to python3 (#75)
Markus Neteler
[GRASS-git] [OSGeo/grass] 6ac803: change Python shebang to python3 (#82)
Markus Neteler
[GRASS-git] [OSGeo/grass] 428521: change Python shebang to python3 (#82)
Markus Neteler
I’m getting a bunch of errors trying to compile GRASS master right now and they all seem to be calling for python3. Has this become the default as of yesterday or today?
Yes.
Python 2.7 is still the default on the Mac and
Python 2 is EOL in some month.
I still have not been able to compile a working Python3 version. Currently getting ctype errors.
For Python 2 just 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 the emails on 7.8.0 and 8.0.0 releases of the last 2 days)
Markus
Michael
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University